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 Bossbar that blinks

Discussion in 'Skript' started by Hartvig, Jun 13, 2017.

Tags:
Thread Status:
Not open for further replies.
  1. Hartvig

    Hartvig Member

    Joined:
    Apr 18, 2017
    Messages:
    39
    Likes Received:
    1
    Problem:
    I want to make a bossbar that blinks, but i get this error.

    Error:
    https://gyazo.com/64a03bc41ce51cc6408667b0e1986c18


    Code:
    Code (Skript):
    1. every 0.2 seconds in "world":
    2.     loop all players:
    3.         If {bossbar} is 0:
    4.             set bossbar named "&bDu spiller på &e&lLazygamers.net" for player to 100
    5.             wait 0.7 seconds
    6.             set {bossbar} to 1
    7.             stop
    8.         If {bossbar} is 1:
    9.             set bossbar named "&cDu spiller på &e&lLazygamers.net" for player to 100
    10.             wait 0.7 seconds
    11.             set {bossbar} to 0
    12.             stop
     
  2. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    "player" in lines 4 and 9 should be "loop-player"
     
  3. ShaneBee

    Supporter + Addon Developer

    Joined:
    Sep 7, 2017
    Messages:
    2,184
    Likes Received:
    231
    Thank you!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...