Confused with CoreGUI

I am trying to disable the chat coreGUI, however not the button.
I don’t know if it is possible or not, I have tried about everything to my knowledge. Is there any way to do this?

1 Like

(by chat button, I mean the button to toggle the chat popup, but I want to disable the chat popup)

1 Like

You need to use StarterGui and its SetCoreGuiEnabled method.
To disable the chat using these, you just need to do:

local StarterGui = game:GetService("StarterGui")

StarterGui:SetCoreGuiEnabled("Chat", false)

“Chat” is just one of several toggleable CoreGuis which can be found here.

1 Like

Yes, but that disables the whole chat, including the toggle button. I have my own chat system, and it turns on with the regular roblox chat button.

Does this work for you?

I solved it myself, I went into the starterplayerscripts folder and disabled the chat script.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.