Guest User

Untitled

a guest
Sep 25th, 2018
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. variables:
  2. {rewardblock.found} = false
  3.  
  4. command /setrewardblock:
  5. permission: rewardblock.set
  6. trigger:
  7. set {rewardblock} to targeted block
  8. set {rewardblock.found} to false
  9.  
  10. on rightclick:
  11. block is {rewardblock}
  12. {rewardblock.found} is false:
  13. message "You're the first!"
  14. drop 500 exp at the player
  15. set {rewardblock.found} to true
  16. else:
  17. message "Sorry, someone was faster"
Add Comment
Please, Sign In to add comment