Skip to content

AddComponent

Description

AddComponent is a Function on Object
Adds a new Component to this Object of the given type. If you are not the server, this will only run on local objects.

Example
Object.AddComponent("Toaster")
Usage

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