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

Setting CoreGui for specific players?

Asked by
edc900 5
10 years ago

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.

0
How it works* edc900 5 — 10y

1 answer

Log in to vote
0
Answered by
HexC3D 830 Moderation Voter
10 years ago
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.

Ad

Answer this question