mutate_instances
Create, delete, clone, move, rename, or pivot Roblox instances. Also supports bulk operations (mass create/delete/duplicate), smart duplicate, and scatter cloning with property assignment.
Instructions
Create, delete, clone, move, rename, or pivot instances. Also: create_with_props (create+properties), create_tree (nested hierarchy in one waypoint), mass_create, mass_delete, mass_duplicate, smart_duplicate (N copies with offset), scatter (ray-snap clones onto ground in a region). Property values: numbers/strings/booleans, Vector3 [x,y,z], CFrame [x,y,z] or 12 numbers, Color3 hex '#ff0000' or [r,g,b] 0-1, UDim2 [xs,xo,ys,yo], enum strings like 'Enum.Material.Neon'.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Alias for rbId | |
| name | No | Name for created/cloned instance | |
| path | No | Target instance path (delete/clone/move/rename/pivot/smart_duplicate). An RBId GUID is also accepted. | |
| rbId | No | RoBridge instance id from a prior summary. Preferred over path when both are set. Alias: id | |
| seed | No | ||
| tree | No | Nested instance tree for create_tree | |
| count | No | Copy count for smart_duplicate / scatter | |
| paths | No | Paths for mass_delete / mass_duplicate | |
| action | Yes | ||
| cframe | No | CFrame as [x,y,z] or 12 numbers for pivot | |
| offset | No | [x,y,z] relative offset for pivot/smart_duplicate | |
| parent | No | Alias for parentPath | |
| region | No | World AABB {min,max} for scatter | |
| newName | No | New name for rename | |
| maxSlope | No | Max ground slope degrees for scatter (default 30) | |
| position | No | [x,y,z] position for move/pivot | |
| className | No | ClassName to create | |
| instances | No | Specs for mass_create | |
| avoidWater | No | ||
| parentName | No | Folder name that groups scatter results | |
| parentPath | No | Parent path for create/clone/move. Alias: parent | |
| properties | No | Properties to set | |
| templatePaths | No | Templates to clone for scatter |