Advertisement
Randall123459

RedArrows

Jan 7th, 2017
423
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. options:
  2. Perm: uhc.staff
  3. P: &f[&bRed Arrows&f]
  4. C: &b
  5. H: &f
  6.  
  7. command /RedArrows <text>:
  8. permission: {@Perm}
  9. usage: /RedArrows <On:Off>
  10. trigger:
  11. if arg-1 is "enable" or "on":
  12. set {RedArrows} to true
  13. broadcast "{@P}{@C} Red Arrows {@H}Enabled{@C}!"
  14. if arg-1 is "disable" or "off":
  15. delete {RedArrows}
  16. broadcast "{@P}{@C} Red Arrows {@H}Disabled{@C}!"
  17.  
  18. on death of player:
  19. if {RedArrows} is true:
  20. set {_location} to the location at player's x-coordinate, 60, player's z-coordinate of the player's world
  21. loop 201 times:
  22. add 1 to y-location of {_location}
  23. if block at {_location} is not air:
  24. add 1 to y-location of {_location}
  25. if block at {_location} is air:
  26. loop blocks in radius 6 around {_location}:
  27. if loop-block is not air:
  28. set {_loc} to false
  29. delete {_loc}
  30. else:
  31. wait 1 tick
  32. set {_location} to the location 30 blocks above {_location}
  33. paste schematic "RedArrow" at {_location}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement