Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function leatherSet(p: player):
- set helmet of {_p} to leather helmet
- set chestplate of {_p} to leather chestplate
- set leggings of {_p} to leather leggings
- set boots of {_p} to leather boots
- function leatherDye(c: color, p: player):
- dye helmet of {_p} {_c}
- dye chestplate of {_p} {_c}
- dye leggings of {_p} {_c}
- dye boots of {_p} {_c}
- command /armor:
- trigger:
- leatherSet(player)
- stop
- command /dye [<text>]:
- trigger:
- if arg 1 is set:
- set {_color} to arg 1 parsed as a color
- leatherDye({_color}, player)
- stop
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement