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

How do I hide the Health and PlayerList UI? [SOLVED]

I need help trying to HIDE the Health bar and PlayerList/Stat UI. I am making a RPG, and I need to hide the playerlist, stats, and health. Because I got A GUI that shows the Health, Stats, and walkspeed. Any help?

2 answers

✓ Accepted answer

This is a LocalScript in the StarterGui

local StarterGui = Game:GetService('StarterGui')
 
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false)--Disables Everything But Backpack and Chat
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, true)
game.StarterGui:SetCoreGuiEnabled(0,false)
game.StarterGui:SetCoreGuiEnabled(1,false)

Make this a local script and put in startergear that should leave Chat Gui and backpack.

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