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!

  2. LOOKING FOR A VERSION OF SKRIPT?

    You can always check out our Wiki for downloads and any other information about Skript!

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

Solved Counter

Discussion in 'Skript' started by DeahtstrokeSW, Dec 29, 2017.

Thread Status:
Not open for further replies.
  1. DeahtstrokeSW

    DeahtstrokeSW New Member

    Joined:
    Mar 13, 2017
    Messages:
    7
    Likes Received:
    0
    Hey Guys
    i have an issue and i hope you guys can help me out.
    Im making a timer that dosent seems to work as it should, and same with the action bar, nothing happens

    Code:
    Code (Skript):
    Code (Skript):
    1. set {_difference} to difference between {Icosa.cooldown.%attacker%} and now
    2. set {_tid} to difference between {_difference} and 10 seconds
    3. add 1 to {Icosa.streak.%attacker%}   set {Icosa.cooldown.%attacker%} to now
    4. set action bar of attacker to "&6&lIcosa streak &8&l>> &c%{Icosa.streak.%attacker%}%"
    5.   if {_difference} <= 10 seconds:
    6.     Send "&a%{Icosa.streak.%attacker%}% to attacker"
    It is the last line that dosent make any effects and it seems like the timer part dosent work together with the action bar. Nothing happens

    I have skrayfall, skquery, tuske and many more addons installed so the issue shouldnt come from there

    Thank you


    //Edit
    I solved this by useing a different type of time (egc, every 1 second)
     
    #1 DeahtstrokeSW, Dec 29, 2017
    Last edited: Jan 2, 2018
Thread Status:
Not open for further replies.

Share This Page

Loading...