Advertisement
Guest User

Untitled

a guest
Jul 31st, 2015
185
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. on rightclick on ender chest:
  2. cancel event
  3. wait 3 ticks
  4. open chest with 1 row named "&0Gift Chest:" to player
  5. wait 1 ticks
  6. loop 9 times:
  7. set {value} to loop-value
  8. {gifts.%player%.%loop-value%} is set:
  9. format slot ( loop-value - 1 ) of player with 1 chest named "&aGIFT: %{gifts.name.%player%.%loop-value%}%" with lore "&eCLICK TO RECEIVE" to close then run "gift %{value}%"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement