Jump to content

Is this possible?? BossBar Script HEELP


Qwej

Recommended Posts

I have SkRayFall...

I want to script a bossbar that is visible for all, at all times! It must show a count-down from 15 minutes to 0, and then restart... there must be a count down going on the whole time

I want people who joins in the middle of the count down to see a bossbar where half the time has already passed!

 

I'm close, but cant get it to wooork 😞

 

This gives no error, so why wont the bossbar appear??? :

on skript start:
    create bossbar titled "blablabla" and id "contest" for player with progress 100 with colors blue
    loop 100 times:
        set bossbar "contest" value to (100 - loop-number)
        wait 9 seconds # 100 * 9sec = 15 minutes
    remove bossbar "contest"

Link to comment
Share on other sites

command /bb:
    trigger:
        loop all players:
            create bossbar titled "blablabla" and id "contest" for loop-player with progress 100 with colors blue
            loop 100 times:
                set bossbar "contest" value to (100 - loop-number)
                wait 9 seconds # 100 * 9sec = 15 minutes
            remove bossbar "contest"

theres no "player" in skript start event

also put code in a code block

 

Edited by Rodney_RWR

-------------------------------------------------------------------

NO RANK ALL THE WAY

---------------------------------------------------------------------

play.koolkidzmc.com (Velocity + Pufferfish FTW)
discord.koolkidzmc.com

Spoiler

/_(•v•)_7

image_2021-07-26_104856.png.7740cf6322d3693f332894c1e8485060.png


image_2021-07-26_104457.png

pogies.PNG

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...