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

How do I disable the default player GUI? [Unanswered]

This is a more simple question.

I am just looking for a way to disable the default GUI of any player that joins my game. (Health, player list, Backpack, etc)

I have been looking around for a while now with no luck. I know it is probably right in front of my face, but I cannot seem to find it.

Just a quick explanation of how and where it is located would be great.

Thanks!

EDIT:

LocalScript that is placed into the player that connects:

check = true

repeat
game.StarterGui:SetCoreGuiEnabled("All", false)
if script.Parent.Parent == game.Players then
	check = false
end
until check == false

1 answer

There's a method in StarterGui called SetCoreGuiEnabled. This hides and shows CoreGui elements like the health bar, player list, etc. You can find the wiki link here:

http://wiki.roblox.com/index.php?title=SetCoreGuiEnabled_(Method)

3 comments

0

This does not seem to be working. Unless I am using it incorrectly? I am placed the change needed inside of a local script, which is placed into the player that connects. Yet, I still see the GUI

0

Could you put the code you've used in your answer. It should work fine, unless you're using a custom GUI.

0

Posted for you.

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