Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- options:
- P: &8[&7Entropy&8]&7
- command /entropy <text>:
- usage: /entropy <on/off>
- permission: skript.op
- trigger:
- if arg-1 is "on" or "enable":
- set {entropy} to true
- send "{@P} Entropy Enabled!"
- loop all players:
- set loop-player's level to 2
- set {entropytimer} to 600
- else if arg-1 is "off" or "disable":
- delete {entropy}
- send "{@P} Entropy Disabled!"
- every 5 seconds:
- {entropy} is set
- remove 5 from {entropytimer}
- if {entropytimer} is 0:
- loop all players:
- if loop-player's level is 0:
- damage loop-player by 200 hearts
- broadcast "<red>%loop-player% ran out of energy!"
- if loop-player's level is greater than 0:
- reduce loop-player's level by 1
- send "{@P} You survived the drain! The next drain is in 10 minutes!" to loop-player
- set {entropytimer} to 600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement