CommitToNotUsingRawObjectNotationInScripts: type: command name: enablehalo usage: /enablehalo description: Enables your Halo for being a good Denizzle! aliases: - PraiseDenizen script: - if : - flag player GoodDenizzle:! - narrate "<&c>Your Halo disapears!" - else: - flag player GoodDenizzle - narrate "<&a>You become a good Denizzle!" - run GoodDenizzleGoingToHeaven GoodDenizzleGoingToHeaven: type: task debug: false script: - define HaloColor - while && : - define Pitch - define Yaw - define Loc - define Angle ]>].rotate_around_x[<[Pitch]>].rotate_around_y[<[Yaw]>]> - playeffect effect:redstone at:<[Loc].add[<[Angle]>]> offset:0 special_data:0.5|<[HaloColor]> - if <[Loop_Index].mod[4]> == 0: - wait 1t - flag player GoodDenizzle:! - narrate "<&c>Your Halo disapears!"