Check (Method)
From Legacy Roblox Wiki
![]() | |
Returns | nil |
Description: | If condition is true, prints "Check passed: ", followed by description to the output, in blue text. Otherwise, prints "Check failed: ", again, followed by description, but in red text. |
Member of: | TestService |
Example
This code would print Check failed: example to the output, in red text.
game:GetService('TestService'):Check(false, "example")