Advertisement
twogz

Untitled

Jul 22nd, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.01 KB | None | 0 0
  1. on break:
  2. if player's gamemode is survival:
  3. cancel event
  4. if event-block is coal ore:
  5. give coal ore to player
  6. execute console command "/xp give %player% 5"
  7. set event-block to cobble
  8. wait 2 seconds
  9. set event-block to stone
  10. wait 2 seconds
  11. set event-block to coal ore
  12.  
  13. if event-block is iron ore:
  14. give iron ore to player
  15. execute console command "/xp give %player% 10"
  16. set event-block to cobble
  17. wait 2 seconds
  18. set event-block to stone
  19. wait 2 seconds
  20. set event-block to iron ore
  21.  
  22. if event-block is gold ore:
  23. give gold ore to player
  24. execute console command "/xp give %player% 15"
  25. set event-block to cobble
  26. wait 2 seconds
  27. set event-block to stone
  28. wait 2 seconds
  29. set event-block to gold ore
  30.  
  31. if event-block is diamond ore:
  32. give diamond ore to player
  33. execute console command "/xp give %player% 20"
  34. set event-block to cobble
  35. wait 2 seconds
  36. set event-block to stone
  37. wait 2 seconds
  38. set event-block to diamond ore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement