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.
✓ ANSWER ACCEPTED
How do you hide the Backpack and Health bar?
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.
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.

3 comments
It doesnt for some reason
You need to put that code into a local script, then place the local script in the StarterGui.
Did you use a local script?