Advertisement
MostFunGuy

Untitled

Oct 9th, 2013
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. #
  2. # Plugin to color your armor based on the wool you click
  3. #
  4. # Created by MostFunGuy of McMidgard.net and OTG.com
  5.  
  6. options:
  7. nondonor = Lifetime members can click wool to change the color of their armor. You know you wanna!
  8.  
  9.  
  10. # WHITE
  11. on click on white wool:
  12. set {_woolcooldown.white} to difference between {_woolcooldown.white.lastused} and now
  13. player has permission "skript.white":
  14. message "you clicked white" to player
  15. if {_woolcooldown.white} is less then 5 seconds:
  16. equip player with leather helmet
  17. equip player with leather chestplate
  18. equip player with leather leggings
  19. equip player with leather boots
  20. message "<yellow>Your armor has been colored <white>WHITE"
  21. dye player's helmet white
  22. dye player's chestplate white
  23. dye player's leggings white
  24. dye player's boots white
  25. cancel event
  26. else:
  27. set {woolcooldown.%player%.white.lastused} to now
  28. player is wearing all leather armour
  29. message "<yellow>Are you sure you want to be colored <white>WHITE? <yellow>Click again to confirm :D" to player
  30. else:
  31. message "<yellow>Are you sure you want to be equipped with <white>WHITE LEATHER? <yellow>Click again to confirm :D" to player
  32. else:
  33. message "{nondonor}" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement