Advertisement
taktie0304

Untitled

Jun 22nd, 2019
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. command /menu:
  2. trigger:
  3. open chest with 3 row named "テストメニュー" to player
  4. format slot 0 of player with stone named "&aてすと" with lore "&eてすと" to be unstealable
  5. format slot 8 of player with oak door named "&a閉じる" with lore "&eクリックでメニューを閉じます" to be unstealable
  6.  
  7. on inventory click:
  8. if name of player's current inventory contains "テストメニュー":
  9. cancel event
  10. wait a tick
  11. if clicked slot is 0:
  12. send "&aクリックしました" to player
  13. if clicked slot is 8:
  14. close player's inventory
  15. send "&aメニューを閉じました" to player
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement