Chat (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator yeah |
>ArceusInator yeah |
(No difference)
|
Revision as of 21:35, 14 January 2011
Chat( Instance head, String message, ChatColor ChatColor ) | |
Returns | nil |
Description: | Makes the head say message in the ChatColor tone. |
Member of: | Chat |
Example
If using the Command Bar or a CoreScript...game:GetService( "Chat" ):Chat( Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue ) -- makes Player's Head chat "This is a chat!" in the neutral toneIf using a Script or LocalScript...
game:GetService( "Chat" ):Chat( Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue ) --> s Chat