Skip to content

RemoveScriptByName

Description

RemoveScriptByName is a Function on Object
Removes a Script Component from this Object with the given script name. If you are not the server, this will only run on local objects.

Example
Object.RemoveScriptByName("Toaster")
Usage

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