Collapse Sidebar


The Chat function fires the Chat/Chatted event with the parameters specified in this method.

By default, there is a LocalScript inside of each player’s PlayerScripts object named BubbleChat, which causes a dialog-like billboard to appear above the partOrCharacter when the chatted event is fired.

Note: Since dialogs are controlled by a LocalScript, you will not be able to see any dialogs created from this method unless you are running in Play Solo mode.


Name Type Default Description

An instance that is the part or character which the BubbleChat dialog should appear above.

The message string being chatted.


An Enum/ChatColor specifying the color of the chatted message.


Return Type Summary

No return

Code Samples


The below example would create a part in Workspace and cause it to exclaim “Blame John!”

local ChatService = game:GetService("Chat")

local part = Instance.new("Part")
part.Anchored = true
part.Parent = workspace

ChatService:Chat(part, "Blame John!", "Red")