Advertisement
Guest User

Untitled

a guest
Oct 10th, 2013
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. # WHITE
  2. on click on white wool:
  3. set {_woolcooldown.white} to difference between {_woolcooldown.white.lastused} and now
  4. player has permission "skript.white":
  5. message "you clicked white" to player
  6. if {_woolcooldown.white} is less then 5 seconds:
  7. equip player with leather helmet
  8. equip player with leather chestplate
  9. equip player with leather leggings
  10. equip player with leather boots
  11. message "<yellow>Your armor has been colored <white>WHITE"
  12. dye player's helmet white
  13. dye player's chestplate white
  14. dye player's leggings white
  15. dye player's boots white
  16. cancel event
  17. player has permission "is.donator":
  18. set {woolcooldown.%player%.white.lastused} to now
  19. player is wearing all leather armour
  20. message "<yellow>Are you sure you want to be colored <white>WHITE? <yellow>Click again to confirm :D" to player
  21. stop
  22. player does not have permission "is.donator":
  23. message "{nondonor}" to player
  24. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement