Chat (Method)

From Legacy Roblox Wiki
Revision as of 01:57, 21 December 2011 by >Quenty (Added info. It's good to be back.)
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)