Skip to content

BaseScript

Not to be confused with:

Abstract Object

This object exists only to serve as a foundation for other objects. It cannot be accessed directly, but its properties are documented below.

Additionally, it cannot be created in the creator menu or with Instance.New().

BaseScripts are the base class of all script types ( ScriptInstance, LocalScript, ModuleScript). They can be parented to any instance.

Inherits Instance

Methods

Call → void

Parameters: functionParameters

Calls a function on another script

Example

game["ScriptService"]["Script"]:Call("Foo", "Bar")

Local Functions cannot be ran using the Call function.