Manage script source code and execute arbitrary Luau code in Studio.
Included Tools
| Tool | Tier | Description |
|---|---|---|
manage_scripts | Mixed | Create, read, edit, search, and analyze script dependencies |
execute_luau | Pro | Execute arbitrary Luau code in the Roblox Studio sandbox |
Key Workflows
Editing a Script
"In the GameManager script in ServerScriptService, change maxPlayers from 12 to 24"
Use manage_scripts’s search to find the line, then edit_replace to modify it.
Bulk Refactoring (Pro)
"Replace 'OldModule' with 'NewModule' across all scripts"
Use manage_scripts’s replace to update multiple scripts in one operation.
Querying Runtime Data (Pro)
"Calculate the average Health of all Humanoids currently in Workspace"
Use execute_luau to run arbitrary Luau code and retrieve runtime data.
Action Reference
Manage Scripts (Mixed)
| Action | Description | Tier |
|---|---|---|
get_source | Get script source code | Basic |
set_source | Set script source code | Basic |
create | Create a new script | Basic |
delete | Delete a script | Basic |
edit_replace | Replace specific lines in a script | Basic |
edit_insert | Insert lines at a specific position | Basic |
edit_delete | Delete specific lines | Basic |
search | Search for text in scripts | Basic |
get_dependencies | Get script dependencies | Basic |
replace | Bulk replace across multiple scripts | Pro |
Execute Luau (Pro)
Executes arbitrary Luau code in the Roblox Studio sandbox.
- Blocked services: HttpService, DataStoreService, MessagingService
- No access: CoreGui, CorePackages