Checkpoint (Method): Difference between revisions

From Legacy Roblox Wiki
Jump to navigationJump to search
m Text replacement - "</code>" to "</SyntaxHighlight>"
m Text replacement - "</SyntaxHighlight>" to "</syntaxhighlight>"
Tags: mobile web edit mobile edit
 
(2 intermediate revisions by the same user not shown)
Line 8: Line 8:
==Example==
==Example==
This code would print <samp>Test checkpoint: example</samp> to the output, in blue text.
This code would print <samp>Test checkpoint: example</samp> to the output, in blue text.
<code lua>
<syntaxhighlight lang="lua">
game:GetService('TestService'):Checkpoint("example")
game:GetService('TestService'):Checkpoint("example")
</SyntaxHighlight>
</syntaxhighlight>


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

Latest revision as of 06:12, 27 April 2023

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

Example

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

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