Creates a smart duplicate of a Roblox instance with options to change its parent, name, position offset, and properties. Ideal for creating variations of existing objects.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/nnaridz/RbxGenie/llms.txt
Use this file to discover all available pages before exploring further.
Endpoint
Parameters
The path to the instance to duplicate.
Optional path to a different parent for the duplicated object. If not provided, the clone will have the same parent as the original.
Optional new name for the duplicated object. If not provided, it will have the same name as the original.
Optional position offset as an array of three numbers
[x, y, z]. If the object has a Position or CFrame property, it will be offset by this Vector3.Optional key-value pairs of properties to override on the duplicated object.
Response
Returns
true if the duplication was successful.The full path to the duplicated object.
The name of the duplicated object.
Error message if the operation failed.
Examples
Simple Duplicate
Duplicate with New Name
Duplicate with Position Offset
Duplicate to Different Parent
Duplicate with Property Changes
Complex Duplication
Create Grid Pattern
Notes
- The original instance is not modified
- All descendants of the original are also cloned
- Position offset applies to both
PositionandCFrameproperties if they exist - Properties are applied after cloning but before parenting
- For duplicating multiple objects at once, use
mass_duplicate - The offset is added to the existing position/CFrame, not replacing it