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.

Skellett boss bar flags help

Discussion in 'Skript' started by Gladrian, Feb 5, 2018.

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

    Gladrian Member

    Joined:
    Feb 20, 2017
    Messages:
    41
    Likes Received:
    3
    Hi!

    I've been trying to use this script, which loads with no errors:

    Code (Skript):
    1. command /weather [<text>]:
    2.     trigger:
    3.         if arg-1 is "fog":
    4.             set {_bar} to new bossbar
    5.             add player to bossbar {_bar}
    6.             set the visibility of bossbar {_bar} to true
    7.             add flag CREATE_FOG to bossbar {_bar}
    8.             add flag DARKEN_SKY to bossbar {_bar}
    9.             message "%all of the flags in bossbar {_bar}%"
    The visual effects don't show, however, and the message that sends all the flags simply outputs none. I've tried each of the flags by themselves too, so they both won't add. Is there a way to make this expression work?

    Thanks!
     
Thread Status:
Not open for further replies.

Share This Page

Loading...