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

Setting CoreGui for specific players?

My goal, is to make a Start menu. When you view the start menu, all of the CoreGui will disappear until you leave the start menu.

I tested the code given on the wiki using 'Start Server' and nothing happened.

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

Since I don't know how it works or not, I don't know if it will set it for everyone or not.

1 comment

0

How it works*

1 answer

✓ Accepted answer
game.StarterGui:SetCoreGuiEnabled("All", false) 

As you can see this script disables all the Gui's such as the

Backpack

Health

LeaderBoard and some more

You put this as a local script and put it Starter Gear and try out the script for more info Try these 2 sources. Enum.CoreGuiType.PlayerList==> 0

Enum.CoreGuiType.Health==> 1

Enum.CoreGuiType.Backpack ==> 2

Enum.CoreGuiType.Chat ==> 3

Enum.CoreGuiType.All ==> 4

So Even if I did this

game.StarterGui:SetCoreGuiEnabled(4, false) 

it would be the same as

game.StarterGui:SetCoreGuiEnabled("All", false) 

Source1 Source2 , Hopes this helps.

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