Is there a way to use bubblechat along with a custom chat?

I was wondering if there was any way to use the Roblox bubble chat along with my own custom chat. I tried just enabling bubble chat and disabling LoadDefaultChat but that did not work for obvious reasons.

1 Like

Disable both properties, then integrate your custom chat. As for your bubble chat, you know that game:GetService("Chat"):Chat(PartOrPlrCharacter, Msg) bubble chats, so you can simply combine the Chatted and FilterString on your custom chat with the :Chat function on the player’s character.
Basically:

plr.Chatted:Connect(function()
      -- run your custom chat code here, and make a filtered string
      game:GetService("Chat"):Chat(plr.Character, FilteredString)
end)

By the way, if you’re doing this on the client, you’ll need to send the player character and string using a remote event to the server. You can only filter messages on the server.

2 Likes

I had the whole chat system working but when testing I forgot to think about bubble chat. Came back today and tested it and realised. It filters and everything just fine. Thanks for the help.

1 Like

Always happy to help!ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ

Another thing I’ve seen is people using the dialogue chat bubbles to create this effect. Like in @CookieScript 's game called Horrific Housing. It used to be more obvious before the bubble chat update because of the color next to the speech bubble, but now it looks perfectly normal.

hmm
yes, I wonder how to do this