WEPPY

Scripts & Code Execution Guide

How to delegate script writing and Luau code execution to the AI.

Manage script source code and execute arbitrary Luau code in Studio.

Included Tools

ToolTierDescription
manage_scriptsMixedCreate, read, edit, search, and analyze script dependencies
execute_luauProExecute 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)

ActionDescriptionTier
get_sourceGet script source codeBasic
set_sourceSet script source codeBasic
createCreate a new scriptBasic
deleteDelete a scriptBasic
edit_replaceReplace specific lines in a scriptBasic
edit_insertInsert lines at a specific positionBasic
edit_deleteDelete specific linesBasic
searchSearch for text in scriptsBasic
get_dependenciesGet script dependenciesBasic
replaceBulk replace across multiple scriptsPro

Execute Luau (Pro)

Executes arbitrary Luau code in the Roblox Studio sandbox.

  • Blocked services: HttpService, DataStoreService, MessagingService
  • No access: CoreGui, CorePackages