Roblox chat button is still visible when chat is disabled

When the default Roblox chat is disabled, the main chat UI is not visible, but the button in the top bar still appears:

The button should stay hidden when the chat is not enabled. This was the behavior up until this recently, sometime within the past few days.

This is the code I use to do this:

repeat until pcall(function()
	game:GetService("StarterGui"):SetCoreGuiEnabled(Enum.CoreGuiType.All, false)
end)

Example file:
SetCoreGuiEnabledExample.rbxl (54.8 KB)

For whatever reason, this does not happen every time. I can’t really discern what makes it happen only some of the time, but it seems to happen more reliably in game than in studio for me. If that example file doesn’t work in studio, try publishing it.

Example of where this is an issue: Ultimate Battlegrounds

6 Likes

This issue has been happening to me as well. I am surprised nobody has made a bump or a response in the past 10 days!

3 Likes

I am experiencing this issue too. Please fix as it disrupts the UI in my game.

I’m having the same issue in my game, one thing that seems to make it disappear is setting all coregui to not display a second time (when i press the play button) but that’s obviously not how it is supposed to behave