Description
Creates a new Roblox object instance with a specified class name, parent, and initial properties. This tool allows you to set properties immediately upon creation, which is more efficient than creating an object and then setting properties separately.Parameters
Roblox class name (e.g., “Part”, “Script”, “Folder”)
Path to the parent instance (e.g., “game.Workspace”)
Optional name for the new object
Properties to set on creation. Keys are property names, values are the property values.
Example
Use Cases
- Creating fully configured objects in a single operation
- Building game elements with specific properties from the start
- Efficient object creation when multiple properties need to be set
- Scripting complex scene setups
Related Tools
- create_object - Create objects without initial properties
- mass_create_objects_with_properties - Create multiple objects with properties at once