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

How do you hide the Backpack and Health bar?

I need help trying to script to hide the Backpack and Health bar. I do not want to take FM's I just have a little trouble to script this. Please help.

2 answers

✓ Accepted answer

(Use a local script here)

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

I think that should work.

3 comments

0

It doesnt for some reason

0

You need to put that code into a local script, then place the local script in the StarterGui.

0

Did you use a local script?

In a LocalScript, use the SetCoreGuiEnabled method to hide the two CoreGuis like so:

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

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