Advertisement
fleft17

Untitled

Aug 1st, 2014
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. options:
  2.  
  3. P: &8[&bHorse Nerf&8]&r
  4.  
  5. L: 4
  6.  
  7. M: 7
  8.  
  9.  
  10. command /horsenerf [<text>] [<integer>]:
  11. permission: skript.op
  12. trigger:
  13. if arg-1 is "on":
  14. set {horse.nerf} to true
  15. broadcast "{@P} Nerfed!"
  16. command "/killall horse"
  17.  
  18. if arg-1 is "off":
  19. delete {horse.nerf}
  20. broadcast "{@P} Unnerfed!"
  21.  
  22. on spawn of horse:
  23. {horse.nerf} is true
  24. set {_health} to a random integer between {@L} and {@M}
  25. set the horse's max health to {_health}
  26. set the horse's health to {_health}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement