Advertisement
Guest User

Untitled

a guest
Mar 29th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. options:
  2. P: &8[&7Entropy&8]&7
  3.  
  4.  
  5. command /entropy <text>:
  6. usage: /entropy <on/off>
  7. permission: skript.op
  8. trigger:
  9. if arg-1 is "on" or "enable":
  10. set {entropy} to true
  11. send "{@P} Entropy Enabled!"
  12. loop all players:
  13. set loop-player's level to 2
  14. set {entropytimer} to 600
  15. else if arg-1 is "off" or "disable":
  16. delete {entropy}
  17. send "{@P} Entropy Disabled!"
  18.  
  19. every 5 seconds:
  20. {entropy} is set
  21. remove 5 from {entropytimer}
  22. if {entropytimer} is 0:
  23. loop all players:
  24. if loop-player's level is 0:
  25. damage loop-player by 200 hearts
  26. broadcast "<red>%loop-player% ran out of energy!"
  27. if loop-player's level is greater than 0:
  28. reduce loop-player's level by 1
  29. send "{@P} You survived the drain! The next drain is in 10 minutes!" to loop-player
  30. set {entropytimer} to 600
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement