Skellett boss bar flags help

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

  • LOOKING FOR A VERSION OF SKRIPT?

    You can always check out skUnity Downloads for downloads and any other information about Skript!

Status
Not open for further replies.

Gladrian

Member
Feb 20, 2017
41
3
0
25
Hi!

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

code_language.skript:
command /weather [<text>]:
    trigger:
        if arg-1 is "fog":
            set {_bar} to new bossbar
            add player to bossbar {_bar}
            set the visibility of bossbar {_bar} to true
            add flag CREATE_FOG to bossbar {_bar}
            add flag DARKEN_SKY to bossbar {_bar}
            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!
 
Status
Not open for further replies.