Advertisement
xNawi

Tsunami by Nawo

Dec 22nd, 2014
424
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.10 KB | None | 0 0
  1. on rightclick holding a stick:
  2. loop 100 times:
  3. set {_block%loop-number%} to block loop-number blocks horizontally in front the player
  4. set {_blockT%loop-number%} to type of block 1 blocks below {_block%loop-number%}
  5. set {_blockA%loop-number%} to block 2 blocks above {_block%loop-number%}
  6. if type of block at {_blockA%loop-number%} is air:
  7. wait 2 tick
  8. play step_grass at {_block%loop-number%} with pitch 0
  9. spawn 5 of particle lava:1 offset by 0.6, 0.6, 0.6 at location 0.5 blocks above {_block%loop-number%}
  10. set {_block1} to {_blockA%loop-number%}
  11. set {_typ} to {_blockT%loop-number%}
  12. set {_block2} to block 1 blocks east of {_block}
  13. set {_block3} to block 1 blocks west of {_block}
  14. set {_block4} to block 1 blocks north of {_block}
  15. set {_block5} to block 1 blocks south of {_block}
  16. loop 5 times:
  17. spawn undroppable falling block of {_typ} at {_block%loop-number%}
  18. wait 0.4 tick
  19. else:
  20. create explosion with force 4 at {_block}
  21. on block land:
  22. wait 0.1 ticks
  23. set event-block to air
  24. spawn 5 of particle blockcrack_3_1:1 offset by 1, 1, 1 at event-block
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement