Chat (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
If you don't put a nil argument, it is assumed by the template.
>JulienDethurens
If you don't put a nil argument, it is assumed by the template.
(No difference)

Revision as of 05:16, 30 January 2012

Chat( BasePart part, String message, ChatColor ChatColor )
Returns nil
Description: Makes the part have a Dialog containing message in the ChatColor tone.
Member of: Chat


Example
Creates a Dialog on the part with the message. First previewed in Welcome to ROBLOX Building, this can be used in cases of custom dialog.
game:GetService("Chat"):Chat(game.Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue)