Advertisement
Gamehero2

explo

Apr 7th, 2019
584
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.25 KB | None | 0 0
  1. on break:
  2. if player has permission "explosive.break":
  3. if {Explosive::%player%} is equal to 1:
  4. if {explosivelevel::%player%} is 1:
  5. chance of 1%:
  6. create a fake explosion at the event-block
  7. loop blocks in radius 2 around the event-block:
  8. if loop-block is not bedrock or stone:
  9. if {Fortune::%player%} is equal to 0:
  10. "%region at event-block%" contains "mine"
  11. give player 1 of loop-block
  12. add 1 to {Blocks::%player%}
  13. set loop-block to air
  14. if {Fortune::%player%} is less than 6:
  15. "%region at event-block%" contains "mine"
  16. give player 2 of loop-block
  17. add 1 to {Blocks::%player%}
  18. set loop-block to air
  19. if {Fortune::%player%} is less than 11:
  20. "%region at event-block%" contains "mine"
  21. give player 3 of loop-block
  22. add 1 to {Blocks::%player%}
  23. set loop-block to air
  24. if {Fortune::%player%} is less than 16:
  25. "%region at event-block%" contains "mine"
  26. give player 4 of loop-block
  27. add 1 to {Blocks::%player%}
  28. set loop-block to air
  29. if {Fortune::%player%} is less than 20:
  30. "%region at event-block%" contains "mine"
  31. give player 5 of loop-block
  32. add 1 to {Blocks::%player%}
  33. set loop-block to air
  34. if {Fortune::%player%} is equal to 20:
  35. "%region at event-block%" contains "mine"
  36. give player 6 of loop-block
  37. add 1 to {Blocks::%player%}
  38. set loop-block to air
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement