tsutitire2

hat

Aug 30th, 2019
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.49 KB | None | 0 0
  1. command /hat:
  2. aliases: head
  3. trigger:
  4. if player is holding air:
  5. send "&c手にアイテムを持っていません"
  6. stop
  7. if player is not holding air:
  8. set {_hat1} to player's helmet
  9. wait 1 tick
  10. set {_hat2} to 1 of player's tool
  11. remove {_hat2} from player's inventory
  12. equip player with {_hat2}
  13. give {_hat1} to player
  14. message "&6帽子を装備しました"
Add Comment
Please, Sign In to add comment