Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- on rightclick with tnt:
- if name of tool of player is "&cmineTNT":
- if {mcw1.%player%} is "0":
- set {mcw1.%player%} to 20
- cancel event
- spawn 1 primed TNT at location of block above player
- set fuse time of the last spawned primed TNT to 30
- if player is not sneaking:
- wait 1 tick
- push last spawned tnt in direction of player with force 0.4
- loop 20 times:
- set {mcw1.%player%} to {mcw1.%player%} - 1
- wait 1 second
- set {mcw1.%player%} to "0"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement