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 remove the core gui?

I can not figure out how to remove it and the old one I built no longer works for some reason. Anyone know how to make a working version that removes all of the core guis?

game:GetService("StarterGui"):SetCoreGuiEnabled(1,false)
game:GetService("StarterGui"):SetCoreGuiEnabled(0,false)

Thats the code block.

1 comment

0

game:GetService("StarterGui"):SetCoreGuiEnabled(1,false) game:GetService("StarterGui"):SetCoreGuiEnabled(0,false)

1 answer

✓ Accepted answer

Put this in a localscript in the StarterGui

--Just change true or false depending on what you want removed.  Note that if you remove the PlayerList, the typing bar will be removed too.
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Backpack, false) --This is the toolbar
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Health, false)   --Health Bar
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)
game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, true)

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