Game scripts
scriptsList, regex-search, or read decompiled Roblox client-side Luau code to inspect game logic, with cached .luau files and line-numbered source access.
Instructions
Read the game's client-side code (LocalScripts, ModuleScripts; server Scripts never reach the client). Decompiled sources are cached and saved as .luau files in a temp folder mirroring the game tree, so you can also grep/read them directly.
list: script paths (optionally filtered).
search: regex across all decompiled sources, returns path:line matches. The first search decompiles everything (a few seconds).
read: one script's source with line numbers, 150 lines at a time (use startLine/endLine).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | No | read: full script path as shown by list/search. | |
| port | No | Opiumware port (default: first found). | |
| limit | No | search: max matches shown. | |
| query | No | search: case-insensitive regex. | |
| action | Yes | ||
| filter | No | list/search: case-insensitive regex on script paths, e.g. ReplicatedStorage. | |
| endLine | No | read: last line (default startLine + 149). | |
| startLine | No | read: first line (default 1). |