delete_script_lines
Delete specified lines from a Roblox script by providing its instance path and the inclusive start and end line numbers from the numberedSource field.
Instructions
Delete specific lines from a Roblox script. IMPORTANT: Use the "numberedSource" field from get_script_source to identify the correct line numbers.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endLine | Yes | Last line to delete (inclusive). Get this from the "numberedSource" field. | |
| startLine | Yes | First line to delete (1-indexed). Get this from the "numberedSource" field. | |
| instancePath | Yes | Roblox instance path to the script (e.g., "game.ServerScriptService.MainScript") |