How to enable bubble chat, but not classic chat?

I am trying to enable bubble chat in my game, while having the top left chat not visible, so that you have to be near a player to see their chat. I’ve seen it done in other games but I can’t figure out how to do it on my own.
I’ve tried setting BubbleChatEnabled to true and LoadDefaultChat to false in ChatService, but that just disables the chat entirely.
I have also tried using :SetChatStyle() in the chat bar which had no change on the place.
How do I do this properly?

You can fork the chat scripts and set true or false what you’d like enabled. This has it’s downside as the chat script will no longer be able to be updated from Roblox.

1 Like

How exactly do I do that? I took the scripts from playtesting and inserted them but now it isn’t working.

Sorry. I can put my solution back if it helps. I’m confused because you said that you had tried the ChatService solution and it does not accomplish what you are looking for.

Anyway, here it is again:

local chat = game:GetService("Chat")

chat:RegisterChatCallback(Enum.ChatCallbackType.OnCreatingChatWindow, function()
	return {BubbleChatEnabled = true; ClassicChatEnabled = false}
end)

AFAIK you do not need to directly fork the chat script.

2 Likes