Advertisement
Guest User

Untitled

a guest
Oct 10th, 2015
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. options:
  2. p: &8[&9SkyHigh&8] &b
  3.  
  4. command /skyhigh <text>:
  5. description: Skyhigh toggling command!
  6. usage: /skyhigh <enable:disable:give>
  7. permission: skript.op
  8. trigger:
  9. if arg-1 is "enable":
  10. set {SkyHigh} to "true"
  11. broadcast "{@p}SkyHigh &aenabled &bby &e%command sender%"
  12. broadcast "{@p}Hope you like heights..."
  13.  
  14. if arg-1 is "disable":
  15. delete {SkyHigh}
  16. broadcast "{@p}SkyHigh &cdisabled &bby &e%command sender%"
  17. broadcast "{@p}The ground is safe, for now..."
  18.  
  19. if arg-1 is "give":
  20. give 2 snow blocks to all players
  21. give 1 pumpkin to all players
  22. give 1 diamond shovel to all players
  23. give 128 red stained clay to all players
  24. give 2 string to all players
  25. give 16 feathers to all players
  26. broadcast "{@p}All items given by &e%command sender%"
  27.  
  28. if arg-1 is not set:
  29. message "{@p}/skyhigh <enable/disable/give>"
  30.  
  31. very 30 seconds:
  32. loop all players:
  33. if {SkyHigh} is true:
  34. loop-player's y-coordinate is between 0 and 100
  35. damage the loop-player by 0.5 hearts
  36. send "{@Pre} You must be above Y - 101. You have 30 seconds, start building." to loop-player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement