Help with Bubble Chat Script!

Hello! I was creating a custom bubble chat script(the new customizations), But the script I made seems not to work. Does anyone know how to solve this?

local ChatService = game:GetService(“Chat”)
ChatService.BubbleChatEnabled = true

local bubbleChatSettings = {
BackgroundColor3 = Color3.fromRGB(145, 0, 0),
TextSize = 20,
Font = Enum.Font.Creepster,
BubbleDuration = 10
}

ChatService:SetBubbleChatSettings(bubbleChatSettings)

(First post sorry if not in correct category.)

2 Likes

Is this located in a LocalScript? This is a client-side only function.

1 Like

Yes, I have it inside of a local script inside of Chat

LocalScripts do not run in Chat, relocate it to StarterPlayerScripts and it should work.

1 Like

Thanks! I figured it would go there but I followed the DevHub.