I've already made a custom health bar, but I can't find a way to disable the ROBLOX health bar. Any help please?
✓ ANSWER ACCEPTED
How to disable health bar?
2 answers
✓ Accepted answer
game.StarterGui:SetCoreGuiEnabled("Health",false)
game.StarterGui:SetCoreGuiEnabled('Health',false)
There is an enum for this also,
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health,false)
It is prefered to use the enum.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
Don't just post code! Explain your answers in detail!
Apologies. This is a method that essentially disables Roblox's CoreGuis, which are Health,Backpack,Leaderboard, and Chat. The second argument determines if it is on or off with true or false respectively. You can also use "All" to disabled all of the CoreGuis
Why did you just give them the answer. You explained it at least. You could also do "game.Players.Player.HealthDisplayDistance = 0" If they want it to be invisible to other players.
Yes sorry I'm still sort of new here and didn't even think twice about doing it. Percil explained that I should explain my answer, which I did as a comment