execute_luau
Run Luau code in Roblox Studio to test scripts and manipulate game state, returning execution results across Edit, PlayClient, or PlayServer contexts.
Instructions
Official Roblox MCP: Executes Luau code in Roblox Studio environment and returns evaluation results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | Yes | Luau source code to execute | |
| targetContext | No | Target execution context |