What is SetCoreGuiEnabled?

I see it a lot in intros. For an example:

game.StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.All, false) 

What is happening here?

1 Like

It disables default Guis inserted by roblox, like the chat, playerlist etc. There’s a complete library for it, and the second argument is a boolean of if you want to enable it or disable it. (false = disable, true = enable)

3 Likes

Basically it can enable and disable any CoreGui in the Enum.CoreGuiType index. The second argument shows if you want to enable or disable, false = disable, true = enable

1 Like