Spy on remote calls
remote_spyRecords the RemoteEvent:FireServer and RemoteFunction:InvokeServer calls a Roblox game's scripts make, including arguments and calling script, so you can inspect or block them.
Instructions
Record the RemoteEvent:FireServer and RemoteFunction:InvokeServer calls the game's own scripts make, with their arguments and the calling script. Actions: start (begin recording, optional only, ignore, max_calls, include_own), get (read recorded calls, optional since_id, contains, remote, limit), stop, clear and status. Typical use: start, make the action happen (ask the user or use gui_interact), then get. block (remotes: names or full paths) drops the game's calls to those remotes before they reach the server, even without recording, and unblock releases them (all when remotes is empty). Blocking changes how the game behaves, so only do it when the user asked for it and tell them which remotes are blocked. Recording and blocking need hookmetamethod in the executor and stay installed until the game is left. Requires the connected state.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | start: only record remotes whose name contains this. | |
| limit | No | get: maximum calls to return, newest kept (default 50). | |
| action | Yes | What to do. | |
| client | No | Client id from list_clients, for example c2. Defaults to the client that connected last. | |
| ignore | No | start: remote names to skip, for example noisy ones. | |
| remote | No | get: only calls to the remote with exactly this name. | |
| remotes | No | block or unblock: remote names or full paths (for example ReplicatedStorage.Events.Buy). | |
| contains | No | get: only calls whose remote name or arguments contain this. | |
| since_id | No | get: only calls after this id (use the lastId of the previous result). | |
| max_calls | No | start: how many calls to keep (default 500). | |
| include_own | No | start: also record calls made by code run through Superbase. block: also block those calls (default false). |