Advertisement
Guest User

Untitled

a guest
Feb 3rd, 2016
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.04 KB | None | 0 0
  1. options:
  2. P: &8[&7CrouchSheep&8]&7
  3.  
  4.  
  5. command /crouchsheep <text>:
  6. usage: /crouchsheep <on/off>
  7. permission: skript.op
  8. trigger:
  9. if arg-1 is "on" or "enable":
  10. set {crouchsheep} to true
  11. send "{@P} Skript Enabled!"
  12. else if arg-1 is "off" or "disable":
  13. delete {crouchsheep}
  14. send "{@P} Skript Disabled!"
  15. loop all players:
  16. command "/undisguiseplayer %loop-player%"
  17.  
  18. on sneak toggle:
  19. {crouchsheep} is true
  20. player is not sneaking:
  21. if player is wearing leather chestplate:
  22. command "/dplayer %player% sheep setcolor silver"
  23. else if player is wearing gold chestplate:
  24. command "/dplayer %player% sheep setcolor black"
  25. else if player is wearing chain chestplate:
  26. command "/dplayer %player% sheep setcolor gray"
  27. else if player is wearing iron chestplate:
  28. command "/dplayer %player% sheep setcolor brown"
  29. else if player is wearing diamond chestplate:
  30. command "/dplayer %player% sheep setcolor pink"
  31. else:
  32. command "/dplayer %player% sheep"
  33. else:
  34. command "/undisguiseplayer %player%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement