I want to create a seismic wave , So It worked but i need to damage and to push any player in the wave's path.
How can I do that ?
Skript:
Error:
There's no loop that matches "loop-player is above loop-block line 16
How can I do that ?
Skript:
Code:
on right click with clock:
name of player's tool is "&6Seismic Wave":
loop all blocks in front of the player's location:
block under player is not air
loop-block is not air
spawn falling dirt above loop-block
wait 0.1 second
execute console command "killall drops hub"
loop all players in "hub":
damage loop-player by 2 hearts
push loop-player backwards at speed 2
push loop-player upwards at speed 4
Error:
There's no loop that matches "loop-player is above loop-block line 16