Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- p: &8[&9SkyHigh&8] &b
- command /skyhigh <text>:
- description: Skyhigh toggling command!
- usage: /skyhigh <enable:disable:give>
- permission: skript.op
- trigger:
- if arg-1 is "enable":
- set {SkyHigh} to "true"
- broadcast "{@p}SkyHigh &aenabled &bby &e%command sender%"
- broadcast "{@p}Hope you like heights..."
- if arg-1 is "disable":
- delete {SkyHigh}
- broadcast "{@p}SkyHigh &cdisabled &bby &e%command sender%"
- broadcast "{@p}The ground is safe, for now..."
- if arg-1 is "give":
- give 2 snow blocks to all players
- give 1 pumpkin to all players
- give 1 diamond shovel to all players
- give 128 red stained clay to all players
- give 2 string to all players
- give 16 feathers to all players
- broadcast "{@p}All items given by &e%command sender%"
- if arg-1 is not set:
- message "{@p}/skyhigh <enable/disable/give>"
- very 30 seconds:
- loop all players:
- if {SkyHigh} is true:
- loop-player's y-coordinate is between 0 and 100
- damage the loop-player by 0.5 hearts
- 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