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

Warn

If condition is true, prints Warning passed: , followed by description, to the output, in blue text. Otherwise, prints Warning: , followed by description, to the output, in yellow text.

Parameters

Name Type Default Description
nil
int
0

Returns

Return Type Summary

Code Samples


TestService:Warn

This code would print “Warning: this action is invalid” to the output, in yellow text.

game:GetService('TestService'):Warn(false, "this action is invalid")