Need a Potion effect script.

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

KonnerPlayz

Member
Jan 21, 2020
1
0
0
24
Category: PvP Held Item = Potion effect script.

Suggested name: kiteffects

Spigot/Skript Version: I don't quite know it says custom so idk...

What I want:
Where if you hold a feather you get speed 2. Take hand off of feather speed taken...

Ideas for commands: none please.

Ideas for permissions: none please.

When I'd like it by: A couple of days I hope. I can go about a week...
 
Code:
every 5 seconds:
  loop all players:
    if loop-player's tool is feather:
      apply Speed 2 to loop-player for 99 days
    else:
      remove Speed from loop-player
Untested parsed with no errors
[doublepost=1579612802,1579612744][/doublepost]this does it every 5 seconds