L0v0lup

Skript ✎ TNT RUN #143 Tutorial

Feb 18th, 2021 (edited)
608
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. on any movement:
  2.   "%block below player%" is "tnt block"
  3. #  set block behind player to blue glass
  4.   add location of block below player to {_block::%player%::*}
  5.   wait 0.2 second
  6.   loop {_block::%player%::*}:
  7.     #"%block at loop-value%" is "tnt block"
  8.     set block at loop-value to air
  9.     spawn primed tnt at loop-value
  10.     remove loop-value from {_block::%player%::*}
  11.  
  12. on load:
  13.   clear {_block::*}
  14.  
  15. on logout:
  16.   clear {_block::%player%::*}
  17.  
  18. on break:
  19.   broadcast "%event-block%"
  20.  
Add Comment
Please, Sign In to add comment