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

Removing Core GUIs?

Here is my script attempting to remove all Core GUIs:

if game:FindService("StarterGui")then --If game finds service StartGui then
game:GetService("StarterGui"):SetCoreGuiEnabled("All",false) --Sets PlayerList into disabled mode
end --The end for the if statement

Please leave a reply

1 answer

✓ Accepted answer

This method is only usable in local scripts. This is the way I always do it.

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

4 comments

0

I tried this way, and it is still not working for me. I tried putting it into my if statement and after that just straight up putting that line of code. Any idea why?

0

Just don't use the if statement. Just use this one line of code because the if statement isn't needed.

0

Make sure you're using this in a LocalScript, preferrably inside the StarterGui.

0

I already mentioned that in my answer.

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