Message (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
>JulienDethurens
No edit summary
m Text replacement - "<code lua>" to "<SyntaxHighlight code="lua">"
Line 8: Line 8:
==Example==
==Example==
This code would print <samp>Test message: example</samp> to the output, in blue text.
This code would print <samp>Test message: example</samp> to the output, in blue text.
<code lua>
<SyntaxHighlight code="lua">
game:GetService('TestService'):Message("example")
game:GetService('TestService'):Message("example")
</code>
</code>


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

Revision as of 03:05, 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. <SyntaxHighlight code="lua"> game:GetService('TestService'):Message("example")