HELP My Skript Isn't Working

  • Welcome to skUnity!

    Welcome to skUnity! This is a forum where members of the Skript community can communicate and interact. Skript Resource Creators can post their Resources for all to see and use.

    If you haven't done so already, feel free to join our official Discord server to expand your level of interaction with the comminuty!

    Now, what are you waiting for? Join the community now!

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Strixus17

New Member
Aug 18, 2019
7
0
0
25
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:

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



 
Status
Not open for further replies.