Advertisement
Guest User

Untitled

a guest
Feb 13th, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1.  
  2. on mine:
  3. chance of 100:
  4. set block in front of player to chest
  5. drop a Tripwire Hook
  6. loop all blocks in radius 2 of player:
  7. if loop-block is chest:
  8. add 1 stone to loop-block's inventory
  9.  
  10. on rightclick on a chest:
  11. if player is holding Tripwire Hook:
  12. remove 1 tripwire hook from player
  13. send "&cVocĂȘ tem 3 segundos para pegar os itens." to player
  14. wait 3 seconds
  15. set block to air
  16.  
  17. else:
  18. send "&cPara pegar os itens, vocĂȘ deve estar segurando a chave." to player
  19. cancel event
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement