How to properly do a bubble chat?

I’m looking for ways to make a bubble chat. I’ve dumped Roblox’s chat system and wrote my own from the ground up. Now I’m adding a bubble chat. I would like to have it client only. I’ve tried using a BillboardGui, but that didn’t work out so well because the local script won’t execute from the GUI. I guess I could do it from the client side main chat script, but I would rather have the bubble self-contained. So what options do I have to implement this? Perhaps a better question is how does Roblox implement it?

Thanks.

1 Like

when you say that the LocalScript won’t execute from the BillboardGui, what do you mean? Where is the BillboardGui parented to on chat? Is the LocalScript parented to that GUI?

It’s on a rig, but the local script is parented to the gui which in turn is parented to the head of the character.

Since the player’s character is in the Workspace, a LocalScript will not work there.

You could have a LocalScript under StarterPlayerScripts or StarterCharacterScripts which could wait for and manage the GUI whenever the character is added to the Workspace.

Like I said, I was using a rig. That seems to be what the problem was. When I clone it to the actual character’s head, the local script will then execute and everything is now working normally. I think it has something to do with the fact that a rig is just a model and not assigned to any player, so a local script won’t execute.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.