1. 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!

Dismiss Notice
This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Solved Apply effect

Discussion in 'Requests' started by slxshxr, Jul 29, 2018.

  1. slxshxr

    slxshxr Member

    Joined:
    Jul 28, 2018
    Messages:
    11
    Likes Received:
    0
    How i can apply effect for x time, but not adding to actual time.
    Example:
    Code (Skript):
    1. on damage:
    2.     if attacker's tool is diamond sword named "asd":
    3.         apply weakness 2 to victim for 5 seconds
    Every 1 attack it adds 5 seconds to actual weakness time.
     
  2. Best Answer:
    Post #2 by jaylawl, Jul 29, 2018
  3. jaylawl

    jaylawl Active Member

    Joined:
    Jan 29, 2017
    Messages:
    173
    Likes Received:
    31
    Code (Skript):
    1. on damage:
    2.     attacker's tool is diamond sword named "asd"
    3.     remove weakness from victim
    4.     apply weakness 2 to victim for 5 seconds
     

Share This Page

Loading...