For some reason the game opens up 2 chats? How do I prevent this?
Yes I use a custom chat which turns the default chat into a localized thing so you only see people within your proximity.
I assume if you’re using the a custom chat that the second chat is the original chat UI. To get rid of the default chat UI, you can use:
local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.Chat, false)
Edit: I forgot to mention, use this code on the client
SetCoreGuiEnabled turns on and off core gui elements.
More information here:
https://developer.roblox.com/en-us/api-reference/function/StarterGui/SetCoreGuiEnabled
1 Like