Chat (Method): Difference between revisions
From Legacy Roblox Wiki
Jump to navigationJump to search
>ArceusInator unlocked |
>SCARFACIAL Unlocked, removing the stuff that says it's proteted. |
||
Line 1: | Line 1: | ||
<onlyinclude>{{Method | <onlyinclude>{{Method | ||
|name = Chat | |name = Chat | ||
Line 9: | Line 8: | ||
[[Category:Methods]] | [[Category:Methods]] | ||
{{Example| | {{Example| | ||
<pre> | |||
game:GetService( "Chat" ):Chat( Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue ) | 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 tone</pre> | -- makes Player's Head chat "This is a chat!" in the neutral tone</pre> | ||
}} | |||
Revision as of 20:06, 8 July 2011
Chat( Instance head, String message, ChatColor ChatColor ) | |
Returns | nil |
Description: | Makes the head say message in the ChatColor tone. |
Member of: | Chat |
Example
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 tone