Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a boss health bar?

I have made a bossbar UI but I don't know how to code it. The bosses I want are models that have a animate script and a humanoid in them, the bosses have other stuff too.

I want the script to work like this, when a boss from the path (ServerStorage.NPCs) spawns in workspace, a UI appears on the players screen showing the health of the humanoid which is in the bosses.

image of the bossbar health ui: https://imgur.com/a/JthsEnx

image of the path: https://imgur.com/a/2mSt9be

The path of the bosses are below. (mind that NPCs is a folder)

ServerStorage.NPCs --any boss in there that spawns in workspace should enable the bossbar health

Could you also make a script that makes certain bosses not have the healthbar please?

3 comments

0

Can you plese say it clearly? That 'could you please add a blacklist boss from showing healthbar?' isn't really clear

0

I meant to ask if you could also make a script that makes certain bosses not have the healthbar.

0

would appreciate any help

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.