Code:
on leftclick:
player is holding item named "&4boom stick":
push player forward at speed 10
while ground state of player is false:
wait 1 tick
create explosion of force 5 at player
I want to hit the ground with an explosion
FULL CODE:
Code:
command /boom:
permission: king
trigger:
player has permission "king"
give player 1 stick of sharpness 3 named "&4boom stick"
send "&6je hebt de &4boom stick &6gekregen"
on rightclick:
player is holding item named "&4boom stick":
loop blocks in radius 3 around player:
play mob spawner flames at loop-block to player
wait 2 seconds
push player upwards at speed 5
create explosion of force 5 at player
on leftclick:
player is holding item named "&4boom stick":
push player forward at speed 10
while ground state of player is false:
wait 1 tick
create explosion of force 5 at player
Last edited: