Search the docs

Find a guide, global, type or member

TypeEmber

BossBar

A boss bar from ui.bossbar, shown to nobody until show.

Methods

bossBar:setText(text: string)#

Changes the text.

bossBar:setProgress(progress: number)#

Sets how full the bar is. Raises outside 0..1.

bossBar:setColor(color: BarColor)#

Changes the colour.

bossBar:setStyle(style: BarStyle)#

Changes the style.

bossBar:show(player: Player)#

Shows the bar to a player.

bossBar:hide(player: Player)#

Hides it from a player.

bossBar:destroy()#

Hides it from everyone and frees it. Using the handle afterwards raises.