Roblox Set Script Source
roblox_set_script_sourceReplace entire source code of a Script, LocalScript, or ModuleScript in Roblox Studio by providing the instance path and new code.
Instructions
Replace the entire source code of a Script, LocalScript, or ModuleScript in Roblox Studio.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Full instance path of the script. | |
| source | Yes | New source code for the script. | |
| waitForResponseMs | No | How long to wait for a runtime response. |