I need help with the roblox default overhead health display, Is their any way to make it work with a custom health value inside the character for example?
If you need a value other than 100 for their maximum health, Humanoids have a property called MaxHealth that can be changed.
Information here: Humanoid | Documentation - Roblox Creator Hub
Not what I mean, I am trying to make the roblox health display work with my own custom health value not the roblox one.
Oops, misunderstood your post. Sorry!
It’s all good, but thanks anyway.
You basically just need to make your own custom GUI one, here is a video:
(sorry if it is a little hard to understand, I just searched for a random video on your topic).
Forgot about the Overhead part, you can combine that tutorial above with this one to make a custom overhead Health display:
Then for getting rid of the default health display, make a local script in StarterGui and put in the following:
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
(also make sure you search things up before making a topic on dev forum, I saw answers online).
you can’t make a custom health value sync with the default roblox healthbar GUI, at least, not in any easy way. You’d be far better off making an entirely custom GUI.