#bossbar
1 messages · Page 1 of 1 (latest)
x8ight suggests that you read SkBee's Wiki (Bossbars)
When my booster runs out the bossbars are just like this (look at the picture) and they dont disappear unless i delete them but if i do they disappear for everyonee
even the people that still has boosters going
so i need a way to refresh them or delete them only for me
also how would i make a function that turns a timespan into raw seconds?
set {_raw} to {_time}.getTicks() / 20
set {_seconds} to "%floor(mod({_raw}, 60))%"
set {_minutes} to "%floor(mod({_raw}, 60 * 60) / 60)%"
set {_hours} to "%floor(mod({_raw}, 60 * 60 * 60) / 3600)%"
if length of {_seconds} is 1:
set {_seconds} to "%{_seconds}%"
if length of {_minutes} is 1:
set {_minutes} to "%{_minutes}%"
if length of {_hours} is 1:
set {_hours} to "%{_hours}%"
return "%{_hours}%h %{_minutes}%m %{_seconds}%s"```
@unkempt surge
This is what i got now but i want a way to link the timer/title with the progress bar how would i do that?
Entire Skript
Currently at a funeral. Please dont ping
Sorry
I found a bug in the skript can someone help me with it? its basicly whenever you activate a booster you get 15m booster on the first var {coinbooster} and 15m on the seconds var {coinbossbar} but if you wait until there is 1m left on the first var and activate another one then the vars is 16m for the first one and 30m for the last one and if you do that enought times you will have 2 hours left on the timer but the progress bar is almost at the end
you dont need to continuously add the player to the bar