[Open Sourced] Custom Bubble Chat

It looks amazing in dark mode, thanks a lot!! Good job

2 Likes

This is something that will definitely be used by a lot of people in the future my game creators like myself.

1 Like

Saw the clip and I love it, I’ll be sure to update it later, since I created the dark mode verison.

1 Like

Seems really cool! I did manage to find a bug, though.
if you spam it sometimes says the message twice, so you can say ‘a’ then ‘s’ and it comes out ‘a’ ‘a’ ‘s’ ‘s’, letting you bypass the filter.

How can I make it show it doesn’t show the full chat like bubble chat does?

1 Like

Yes indeed I am so how can I do that?

I’m having some trouble using this with custom chat channels. When I run the game, an error is thrown on line 159 of the Chat module script. In this case, Messages does not exist, which I’m assuming is because it doesn’t know that there are multiple channels?


I’m not too sure how to go about fixing this because I’m sorta beginner to scripting. Awesome project btw!

I tried doesn’t work right it shows both custom and normal bubble chat.

What do you mean by multiple channels?

2 Likes

I have two chat channels in my game which are created using a script in ServerScriptService. The player has the option to use either of the two channels to chat.

This post has some info regarding Chat Channels:
https://developer.roblox.com/en-us/articles/Lua-Chat-System/API/ChatChannel

If you have a different ChatBar(where you type your message in any Roblox game) or a custom ChatBar that could be a reason why it isn’t working it. The Custom Bubble Chat uses Roblox’s Default ChatBar and checks if it’s been focused. You can take a look in the LocalScript thats in StarterPlayerScripts called “BubbleChat” and look at the variable called ChatBar. You can change that to what ever TextBox you are using to gain Input from the Local Player. This is assuming that your using a custom chat.

1 Like

I haven’t made any changes with regard to the ChatBar, it should still be the default. Input should be read from the same place, right?

Here is what the hierarchy looks like:

Here is the variable in the LocalScript:

Do you have to have a game where this error occurs so I can further investigate this possible bug?

Strangely enough, the issue stopped occurring and the error is no longer being thrown. Must’ve been something on my end. I’ll keep testing it and revert back to this thread if it occurs again.

Here’s a place with all the components that are used for the chat with the channels:
https://www.roblox.com/games/4754926380/Chat-Channels

1 Like


Might wanna do some further bug testing.
image

1 Like

Wow. I did not even realize it sent a message twice. That’s probably the reason. Working on a fix right now. Shouldn’t take that long.

1 Like

So uh, silly mistake. When I made the Model version of this Bubble Chat, I had it in Workspace. The script was still in there and it wasn’t disabled. So two scripts were running at the same time. I’ve disabled the scripts and now this should solve some problems. If you find another bug, please reply.

2 Likes

Hey, would it be possible to hide messages that start with ‘’/e’’ and to make emojis appear upon using things such as ‘’:flushed :". Also, my AFK timer doesn’t seem to work. For the rest it’s great! :partying_face:

3 Likes

Thank you so much for creating this, very helpful.

1 Like

Thanks! this will be very useful.

2 Likes