knugi

Untitled

May 2nd, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. command /test:
  2. trigger:
  3. set {_x} to chest with 3 rows named "&6Test"
  4. set slot 0 of {_x} to stone of efficiency 5 named "Test" with lore "Kliknij"
  5. open {_x} to player
  6. on inventory click:
  7. if inventory name of player's current inventory is "&6Test":
  8. if clicked slot is smaller than 0:
  9. stop
  10. cancel event
  11. if clicked slot is 0:
  12. close player's inventory
  13. send "Kliknales w klocek."
  14. give diamond to player
Advertisement
Add Comment
Please, Sign In to add comment