How to make a bubble chat system similar to that of roblox?

No I am not gonna use the roblox bubble chat system.

I want a custom roblox chat system with maths that roblox use to display its bubble chat. but I dont know how? Like you know how roblox scales it bubble chat text? yea I want it like that. cuz billboard guis dont have AutomaticSize sooo how can I do this?

no i dont want that I want a CUSTOM one. a literaly CUSTOM one its complicated.

What do you want the custom one to do that the normal roblox one doesnt?

Adding custom emojis!

Oh alright, sorry my bad I thought you meant change the look of the chat bubble.

yea…

There’s already a chat system that does this and more. It’s called BetterChat by @Jumpathy.

no I dont want to use it I want my own.

BillboardGUIs don’t have AutomaticSize, but their descendants can.

If you:

  1. Create a BillboardGUI and turn off ClipsDescendents
  2. Create a TextBox inside that BillboardGUI and enable AutomaticSize

Then the GUI will size itself to whatever its contents are.

i forgor about ClipsDescendents :skull: k wai ima try it!

one problem is that I want it to be scale so how would I get its size in offset? as its always kinda changing its size?

GUI objects have a property called AbsoluteSize you can use to get the size in on-screen pixels of any GUI. If you need that size in proportion to the screen your user is on, you can use the ViewportSize property of the Camera and compare AbsoluteSize to it.

it also changes with size see it yourself! it doesnt set to 1 thing

You can also use TextService:GetTextSize and set your GUI size based on that instead of using AutomaticSize.

k brb

1 thing is that I kinda got the size but now I want to make it like… scale text yknow

works!