for 5-10 seconds is not an entity type

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

Swirly

Member
Aug 5, 2018
16
0
1
24
1688121839256.png


on damage:
if damage cause is fall:
if victim is a player:
set {_damage} to damage
if {_damage} is greater than or equal to 3:
send "&cYou'd feel a sharp pain in your leg as it snapped" to victim
apply slowness of level 1 to victim for 10 seconds
apply nausea of level 1 to victim for 5 seconds
 
Try this:

Code:
on damage:
    if damage cause is fall:
        if victim is a player:
            set {_damage} to damage
            if {_damage} is greater than or equal to 3:
                send "&cYou'd feel a sharp pain in your leg as it snapped" to victim
                apply potion of slowness of tier 1 to victim for 10 seconds
                apply potion of nausea of tier 1 to victim for 10 seconds