instance_create
Creates a new Roblox Instance of any valid ClassName under a specified parent, with optional initial properties, attributes, name, and CollectionService tags.
Instructions
Create a new Instance of any valid Roblox ClassName under a specified parent with initial properties and attributes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Optional name for the new Instance. Defaults to the ClassName. | |
| tags | No | List of CollectionService tags to add to the instance. | |
| parent | Yes | Full path or UUID of the parent Instance (e.g. "Workspace", "ReplicatedStorage.Remotes", "ServerScriptService"). | |
| className | Yes | The Roblox ClassName to create (e.g. "Part", "Model", "Folder", "RemoteEvent", "ModuleScript", "Highlight", "Sound", "Attachment"). | |
| attributes | No | Dictionary of initial attributes to assign. | |
| properties | No | Dictionary of initial properties to assign (e.g. {"Size": [4, 1, 2], "Anchored": true, "Color": [1, 0, 0]}). |