In my game I have a script where it disables the chat while you're in the main menu. When you exit the menu by clicking a button, the chat enables. It works, but when the chat is enabled the chat filter is removed. I'm not sure how to fix this, could somebody help me with this? Script that disables the chat is shown below.
game:GetService('StarterGui'):SetCoreGuiEnabled('Chat', false)
