Advertisement
Guest User

Untitled

a guest
Feb 17th, 2018
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.62 KB | None | 0 0
  1. command /stack:
  2. permission: stacktake.sk
  3. trigger:
  4. open chest with 6 rows named "&6&lスタックメニュー" to player
  5. wait a tick
  6. format slot 0 of player with stone named "&l石の数&c%{%player%stone}%" with lore "クリックで石を取り出す" to run[make player execute command "takestone"]
  7.  
  8. command /takestone:
  9. permission: stacktake.sk
  10. trigger:
  11. if {%player%stone} is less than 65
  12. give {%player%stone} of stone to player
  13. set {%player%stone} to 0
  14. else
  15. give 64 of stone to player
  16. remove 64 to {%player%stone}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement