Advertisement
Zeldaboy111

Skript #85

Jan 16th, 2019
67
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. function leatherSet(p: player):
  2. set helmet of {_p} to leather helmet
  3. set chestplate of {_p} to leather chestplate
  4. set leggings of {_p} to leather leggings
  5. set boots of {_p} to leather boots
  6.  
  7. function leatherDye(c: color, p: player):
  8. dye helmet of {_p} {_c}
  9. dye chestplate of {_p} {_c}
  10. dye leggings of {_p} {_c}
  11. dye boots of {_p} {_c}
  12.  
  13.  
  14. command /armor:
  15. trigger:
  16. leatherSet(player)
  17. stop
  18.  
  19. command /dye [<text>]:
  20. trigger:
  21. if arg 1 is set:
  22. set {_color} to arg 1 parsed as a color
  23. leatherDye({_color}, player)
  24. stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement