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

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

Asked by
Necrorave 560 Moderation Voter
9 years ago

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

Log in to vote
0
Answered by 9 years ago

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)

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 Necrorave 560 — 9y
0
Could you put the code you've used in your answer. It should work fine, unless you're using a custom GUI. Spongocardo 1991 — 9y
0
Posted for you. Necrorave 560 — 9y
Ad

Answer this question