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

Warn

Prints if a condition is true, otherwise prints a warning.

Parameters

Name Type Default Description

Returns

Return Type Summary

Code Samples


FunctionalTest:Warn1

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

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