PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience
Collapse Sidebar

Check

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.

Parameters

Name Type Default Description
nil
int
0

Returns

Return Type Summary

Code Samples


TestService:Check

This code would print Check failed: example to the output, in red text.

game:GetService('TestService'):Check(false, "example")