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

Require

If condition is true, prints Require passed:, followed by description, to the output in blue text. Otherwise, prints Require failed. Test ended:, followed by description, to the output in red text.

Parameters

Name Type Default Description
nil
int
0

Returns

Return Type Summary

Code Samples


TestService:Require

This code would print Require passed: example to the output, in blue text.

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