Chat becomes invisible after StarterGui:SetCoreGuiEnabled()

Hello everyone.
As the title suggests, the chat window of my game breaks after setting all the CoreGui’s to false and then back to true. That was probably not a good explanation. This video shows exactly what I mean.

The code responsible for setting the CoreGuis:

game.ReplicatedStorage.SetCore.OnClientEvent:Connect(function(enum,bool)
	game.StarterGui:SetCoreGuiEnabled(enum,bool)
end)

I use a client>server>client remote system. “enum” is the CoreGui Enum.

Any sort of help would be appreciated.

I don’t know if it will help you, but you can turn off the enabled

Hm. What do you mean by that? Set Enum.CoreGuiType.Chat to false?

Please elaborate further. What do you mean by “you can turn off the enabled”?

Instead of closing the starter gui, you can try closing the screen gui.
I don’t use SetCoreGuiEnabled a lot so I might not be of much help.

1 Like

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