Recreating the default Roblox Healthbar but as a GUI

Essentially, I like the look of Roblox’s default player name/healthbar above their heads, but it has no customization (changing color without teams, etc.)

image
I can’t find the BillboardGui or creation scripts anywhere in studio’s explorer, even after turning the option ‘Show Hidden Objects in Explorer’ on. So, I just want to disable the default healthbar, then replace it with my own custom one that looks exactly the same but has better customization.

The problem is that since I don’t have access to the original BillboardGui of the healthbar, I can’t find the font, sizing, or imagelabels used in them.

Does anyone know any models that contain them, or even have any ideas for where I should search? I could guess the text’s font, but I wouldn’t be able to get the hp bar correct as it’s presumably an imagelabel that I don’t have the ID to.

2 Likes

On play solo, try checking for descendants of the player.

Edit: I agree, it is probably tied to humanoids via the “name” property.

1 Like

That was the first place I looked, couldn’t find any signs of a GUI or script that handles player nametags. I’m assuming they’re somehow linked to humanoids, as even NPCs have the healthbars.

1 Like

The humanoid health bar and name GUIs are some of the few GUIs that can’t be directly adjusted or modified, but, they can be disabled completely by setting the HealthDisplayDistance and NameDisplayDistance properties to 0, and you can go from there.

My goal is not to directly modify or adjust them, but to recreate them as BillboardGuis on the player’s head. The only issue is that I don’t know the measurements or imagelabels used. If they can’t be adjusted or modified, can I still read their properties anywhere?

Unfortunately, no. I took a quick look for images in the Roblox folder as well (“%LOCALAPPDATA%/Roblox/Versions” on Windows), but didn’t find anything resembling the default health bar. The default health bar has been around for as long as I can remember, before image uploading even existed, so I’m assuming it’s some sort of custom gui that just isn’t accessible.

3 Likes

Hmm, ok. I don’t see why it can’t just be a descendant of the player’s head by default. Pretty annoying that I have to make a custom nametag just to make it seem like an NPC has a specific name color. Thanks for helping anyway.