How to lower a players health without the red health indicator?

I am making a Zone+ Safezone. So currently when you enter the safezone it sets the players health to 1/0 (infinity), so they are godded, and when they leave it sets it to their original health. When it turns their health down to their original health, it shows a health indicator (as seen below)

How would I stop this from showing ONLY for the part where you exit the region?

1 Like

Couldn’t you just set the CoreGui’s Health to false on a LocalScript? You could potentially implement your own damage indicator system when you do take damage

Hello, thanks for your reply.

Is there a coregui for disabling the health indicator only? I could only find a coregui for disabling all health components which is not what I was aiming for.

Oh wait I meant SetCoreGuiEnabled my bad

You can put this inside a LocalScript, and it’ll disable the health system (Keep in mind though that you’ll need to make your own custom GUI & Health Indicator system):

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)

Would there be a way to quickly disable health for a small second on exit and then restore it?

I was thinking of cloning a localscript in to the player that reads

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, true)

and then destroy the script.

I believe you could, but I’m not entirely sure if the Health will change back :thinking:

1 Like