|
|
(22 intermediate revisions by 4 users not shown) |
Line 1: |
Line 1: |
| <onlyinclude>{{Method
| | There are two Chat methods: |
| |name = Chat
| |
| |arguments = [[BasePart]] ''part'', [[String]] ''message'', [[ChatColor]] ''ChatColor''
| |
| |returns = [[nil]]
| |
| |description = Makes the ''part'' have a [[Dialog]] containing ''message'' in the ''[[ChatColor]]'' tone.
| |
| |object = Chat
| |
| }}</onlyinclude>
| |
| | |
| {{clear floats}}
| |
| | |
| {{Example|Creates a Dialog on the part with the message.
| |
| <pre>
| |
| game:GetService("Chat"):Chat(game.Workspace.Player.Head, "This is a chat!", Enum.ChatColor.Blue)
| |
| </pre>}}
| |
|
| |
|
| | {{:Chat (Method)/Chat}} |
| | <div class="visualClear"></div> |
| | {{:Chat (Method)/Players}} |
| [[Category:Methods]] | | [[Category:Methods]] |
Latest revision as of 22:32, 17 April 2023
There are two Chat methods:
Chat( Instance partOrCharacter, string message, ChatColor color = Blue )
|
Returns
|
nil
|
Description:
|
Makes partOrCharacter have a dialog-like billboard containing message in the color tone.
|
Member of:
|
Chat
|
Chat( string message )
|
Returns
|
nil
|
Description:
|
Makes the local player chat the message message.
|
Member of:
|
Players
|