TheNeQPL

12354

Oct 10th, 2013
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. options:
  2. nondonor = Gracze moga nacisnac na welne aby zmienic kolor zbroi na bialy!
  3.  
  4. on click on white wool:
  5. set {_woolcooldown.white} to difference between {_woolcooldown.white.lastused} and now
  6. player has permission "skript.white":
  7. message "Kliknales na bialy" to player
  8. if {_woolcooldown.white} is less then 5 seconds:
  9. equip player with leather helmet
  10. equip player with leather chestplate
  11. equip player with leather leggings
  12. equip player with leather boots
  13. message "<yellow>Twoja zbroja zmienila kolor na <white>BIALY"
  14. dye player's helmet white
  15. dye player's chestplate white
  16. dye player's leggings white
  17. dye player's boots white
  18. cancel event
  19. else:
  20. set {woolcooldown.%player%.white.lastused} to now
  21. player is wearing all leather armour
  22. message "<yellow>Jestes pewien ze chcesz pokolorowac zbroje na <white>BIALY? <yellow>podtwierdz klikajac ponownie :D" to player
  23. else:
  24. message "<yellow>Jestes pewien ze chcesz ubrac <white>BIALA <yellow>skurzana zbroje? <yellow>podtwierdz klikajac ponownie :D" to player
  25. else:
  26. message "{nondonor}" to player
Advertisement
Add Comment
Please, Sign In to add comment