Skip to content

GetScriptByName

Description

GetScriptByName is a Function on Object
Gets a Script Component from this Object with the given script name.

Example
local testVariable = Object.GetScriptByName("Toaster")
Usage

network usage: Any (Client or Server/Host)
returns: Script
parameters:
- scriptName (string)