I need help trigger not recognized help?

  • 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.

Kirito012

New Member
Jan 26, 2020
5
0
0
19
i was making my own plugin and i got stuck here is the code
Code:
Variables:
     {cooldown.%player%} = 5
    
#--------------------------------------------------------------------------------------------------
#                                        EVENT
#--------------------------------------------------------------------------------------------------
on rightclick:
    if {cooldown.%player%} is equal to 5:
        wait 1 tick
        if name of player's held item contains "Dashing":
            push player forwards with force 1.5
            loop 5 times:
                send action bar "&cCooldown until another dash: %{cooldown.%player%}%" to player
                set line 5 of lore of {Dash} to "&7&lCooldown: %{cooldown.%player%}% Seconds"
                subtract 1 from {cooldown.%player%}
                wait 1 second
        else:
            stop
    else:
        stop
    set {cooldown.%player%} to 5
    send action bar "&a&lDash ready" to player

on damage of a player:
    damage cause is player
    if attacker's tool is a sword:
        loop 5 times:
            play lava pop on the victim
            
            
command /tester
    trigger:
        set {Dash} to Diamond Sword with sharpness 1
        set line 1 of lore of {Dash} to "&6Item Ability: Dashing"
        set line 2 of lore of {Dash} to "&7Right click to make"
        set line 3 of lore of {Dash} to "the playerbe pushed in the direction he is looking"
        set line 4 of lore of {Dash} to ""

and here a screen of the error pls help
[IMG]https://i.badlion.net/59uZjZjhB6WreWSmJRD9TU.png[/IMG] 
        set line 5 of lore of {Dash} to "&7&lCooldown: %{cooldown.%player%}% Seconds"
        give {Dash} to player
[doublepost=1580332886,1580332846][/doublepost]idk why but the image of the eror disappared so here it is
59uZjZjhB6WreWSmJRD9TU.png
 
Status
Not open for further replies.