#Question on Bossbars/functions

1 messages · Page 1 of 1 (latest)

distant ferry
#

which part are you having trouble with

#

make a bossbar with skbee with title "5:00" and progress 100

#

then in a while loop set the title of that bossbar to the time left on your timer

#

and set the bar progress to (remaining time/total time)*100

slim anvil
#

then how would i check when its done?

#

and then what are the functions for events during that?

distant ferry
#

what functions an events

#

you can start this wherever you want

slim anvil
distant ferry
#

okay?

#

when do you want the timer to start

#

what makes the bossbar appear

slim anvil
#

either 5:00 or 0:00

#

its either gonna count up or count down but prob count down

distant ferry
#

sure

slim anvil
#

and then it will be a command that would do it

distant ferry
#

but when do you want it to start

slim anvil
#

to force it to happen

distant ferry
#

okay a command

#

so start by making a command

slim anvil
#

and most likely a timer

slim anvil
distant ferry
#

okay

#

now make a bossbar in that command

#
slim anvil
#

ok

#

thanks

versed pagodaBOT
# slim anvil thanks

Consider increasing someone's reputation with </reputation increase:1458495875985969212> if you found them to be helpful!

distant ferry
#

then add all players to the bossbar

#

so they can actually see it

slim anvil
#

ok

distant ferry
#

then set some var to like 5 mins from now

#

and make a while loop that runs while that var > now

#

and then you can have a new value inside the loop that is the difference between the var and now

#

which will tell you how much time is left

#

so you can set the bossbar title to that

distant ferry
slim anvil
#

ok

#

wait can u use numbers in functions like 2x or 3x?

distant ferry
#

sure

slim anvil
slim anvil
#

its not based on the titles but its jst on the message

#

bc rn it says 1 thing like double money

#

but then it gives something else completely