Advertisement
twogz

Untitled

Jul 20th, 2017
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.56 KB | None | 0 0
  1. on break:
  2. cancel event
  3.  
  4. if event-block is coal ore:
  5. set event-block to air
  6. give coal ore to player
  7. wait 3 seconds
  8. set {_c} to a random integer between 0 and 10
  9. if {_c} = 0:
  10. set event-block to coal block
  11.  
  12. if {_c} is between 1 and 10:
  13. set event-block to coal ore
  14.  
  15. if event-block is block:
  16. set event-block to air
  17. give coal item to player
  18. wait 3 seconds
  19. set {_c} to a random integer between 0 and 10
  20. if {_c} = 0:
  21. set event-block to coal block
  22.  
  23. if {_c} is between 1 and 10:
  24. set event-block to coal ore
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement