Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do you remove the core gui?

Asked by 10 years ago

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.

0
game:GetService("StarterGui"):SetCoreGuiEnabled(1,false) game:GetService("StarterGui"):SetCoreGuiEnabled(0,false) SinsofFallenGods 50 — 10y

1 answer

Log in to vote
3
Answered by
Validark 1580 Snack Break Moderation Voter
10 years ago

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)
Ad

Answer this question