Skip to main content

ScriptInstance

Inherits from BaseScript

ScriptInstances run Lua code on the server. Any code that should be kept on the server (such as Datastores) should be kept in a ScriptInstance.

Some classes and functions are only callable through a ScriptInstance. You may find a server-exclusive warning with them in the Documentation.


Summary