Skip to main content

Description

Creates multiple Roblox object instances in a single operation. This is useful for batch creation of objects without needing to set initial properties. Each object can have a different class name, parent, and name.

Parameters

objects
array
required
Array of objects to create. Each object in the array should have:

Example

{
  "objects": [
    {
      "className": "Folder",
      "parent": "game.Workspace",
      "name": "Levels"
    },
    {
      "className": "Folder",
      "parent": "game.Workspace.Levels",
      "name": "Level1"
    },
    {
      "className": "Part",
      "parent": "game.Workspace.Levels.Level1",
      "name": "Platform1"
    },
    {
      "className": "Part",
      "parent": "game.Workspace.Levels.Level1",
      "name": "Platform2"
    }
  ]
}

Use Cases

  • Rapidly creating folder structures for organizing game content
  • Batch creating placeholder objects for later configuration
  • Building hierarchical structures efficiently
  • Initializing level layouts with multiple objects
  • Automating repetitive object creation tasks

Build docs developers (and LLMs) love