Skip to main content

Description

Deletes a Roblox object instance from the game. This operation permanently removes the object and all its descendants from the hierarchy.

Parameters

instancePath
string
required
Path to the instance to delete (e.g., “game.Workspace.MyPart”)

Example

{
  "instancePath": "game.Workspace.Obby.Level_01.Platform_05"
}

Use Cases

  • Removing objects that are no longer needed
  • Cleaning up test objects during development
  • Deleting placeholder objects before final build
  • Implementing dynamic object management in games
  • Resetting level sections by removing and recreating objects

Important Notes

Deletion is permanent. Make sure you have the correct instance path before executing this tool.
  • Deleting a parent object will delete all its children
  • Deleted objects cannot be recovered
  • Make sure no scripts are referencing the object before deletion

Build docs developers (and LLMs) love