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

How can I hide the health bar ,the chat and the player list?

local gui = Enum.CoreGuiType --abbreviation
game.StarterGui:SetCoreGuiEnabled(gui.Health,false) --disabling health gui
game.StarterGui:SetCoreGuiEnabled(gui.PlayerList,false) --disabling player list gui
game.StarterGui:SetCoreGuiEnabled(gui.Chat,false) --disabling chat gui

I did it in a LocalScript inside StarterGui , and it worked, except for the chat.

Chat is still there , but the others are gone.

So I tried


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

It also removed everything but the chat. How do I remove the dang chat?! :/

Also I don't want to make it bubble chat. I want it with my custom chat GUI , classic only. No bubbles, thats the issue :/

2 comments

0

Try the game settings

0

As I've stated in my question , I don't want to make it bubble chat or classic chat. I want to remove them BOTH in order to make my own chat gui.

2 answers

✓ Accepted answer

I use it in one of my projects and it works fine:

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

Do you use this anywhere else? Maybe you're accidentally re-enabling it.

2 comments

0

I put it on a while wait() do loop , and it worked. Thank you.

0

No problem, but you may want to break that eventually.

I've removed the "gui" variable and put only 1 line of code.

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

This worked for me removing all the possible core interfaces roblox had, including chat.

It seems "Enum.CoreGuiType" works better without a variable.

Remember that I've added a normal script in "StarterGui"

1 comment

0

Hello , this works in studio , but not in a live server.

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