Chat (Method)

From Legacy Roblox Wiki
Revision as of 05:16, 30 January 2012 by >JulienDethurens (If you don't put a nil argument, it is assumed by the template.)
Jump to navigationJump to search
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)