Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- Perm: uhc.staff
- P: &f[&bRed Arrows&f]
- C: &b
- H: &f
- command /RedArrows <text>:
- permission: {@Perm}
- usage: /RedArrows <On:Off>
- trigger:
- if arg-1 is "enable" or "on":
- set {RedArrows} to true
- broadcast "{@P}{@C} Red Arrows {@H}Enabled{@C}!"
- if arg-1 is "disable" or "off":
- delete {RedArrows}
- broadcast "{@P}{@C} Red Arrows {@H}Disabled{@C}!"
- on death of player:
- if {RedArrows} is true:
- set {_location} to the location at player's x-coordinate, 60, player's z-coordinate of the player's world
- loop 201 times:
- add 1 to y-location of {_location}
- if block at {_location} is not air:
- add 1 to y-location of {_location}
- if block at {_location} is air:
- loop blocks in radius 6 around {_location}:
- if loop-block is not air:
- set {_loc} to false
- delete {_loc}
- else:
- wait 1 tick
- set {_location} to the location 30 blocks above {_location}
- paste schematic "RedArrow" at {_location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement