Message (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "<SyntaxHighlight code="lua">" to "<syntaxhighlight lang="lua">"
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
 
(One intermediate revision by the same user not shown)
Line 10: Line 10:
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
game:GetService('TestService'):Message("example")
game:GetService('TestService'):Message("example")
</code>
</syntaxhighlight>


[[Category:Methods]]
[[Category:Methods]]

Latest revision as of 06:02, 27 April 2023

Message( string text )
Returns nil
Description: Prints Test message, followed by text to the output, in blue text.
Member of: TestService

Example

This code would print Test message: example to the output, in blue text.

game:GetService('TestService'):Message("example")