Skip to main content

BaseScript

Abstract

Inherits from Instance

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


Summary

Methods


Methods

Call

BaseScript:Call(functionParameters: any)

Parameters:

ParameterTypeDefaultDescription
functionParametersany-

Calls a function on another script

Example

game["ScriptService"]["Script"]:Call("Foo", "Bar")
Local Functions cannot be ran using the Call function.