Advertisement
Guest User

Untitled

a guest
Mar 29th, 2015
609
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.77 KB | None | 0 0
  1. command /potentialhearts <text>:
  2. permission: skript.op
  3. aliases: /pt
  4. trigger:
  5. if arg-1 is "enable" or "on":
  6. set {potentialhearts} to true
  7. loop all players:
  8. set the loop-player's max health to 20
  9. if arg-1 is "disable" or "off":
  10. set {potentialhearts} to false
  11. loop all players:
  12. set the loop-player's max health to 10
  13.  
  14. on death of player:
  15. {potentialhearts} is true:
  16. set the player's max health to 10
  17.  
  18. command /potentialheartsplayer <text>:
  19. usage: potentialheartsplayer <player>
  20. permission: skript.op
  21. trigger:
  22. set the maximum health of the player to 20
  23.  
  24. command /potentialheartsplayerremove <text>:
  25. usage: potentialheartsplayerremove <player>
  26. permission: skript.op
  27. trigger:
  28. set the maximum health of the player to 10
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement