Roblox Edit Script Lines
roblox_edit_script_linesReplace a substring in a Roblox script's source by specifying the exact old text and new text to perform a search-and-replace operation.
Instructions
Replace a substring in a script's source using old_string/new_string matching, similar to search-and-replace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full instance path of the script. | |
| oldString | Yes | Exact text to find in the script source. | |
| newString | Yes | Replacement text. | |
| waitForResponseMs | No | How long to wait for a runtime response. |