Find hidden / detached instances
find-hidden-instancesScan every instance visible to a Roblox executor and report hidden ones: nil-parented, detached from the game tree, or inside Actors/CoreGui, with per-class counts and sample paths.
Instructions
Enumerate EVERY instance the executor can see (getinstances — this includes objects that are not reachable from the game DataModel) and report the ones that are hidden: nil-parented, detached from the game tree, or buried inside an Actor / CoreGui. An instance is considered hidden when it is not reachable from game (__inTree is false). Returns a per-class tally (byClass) plus a capped list of samples, each describing the instance's class, name, full path, and exactly how it is hidden (location). This is the broadest sweep for anything an exploit/anti-detection script has stashed off the normal hierarchy. Requires getinstances; degrades with a clear error otherwise. Signature: { limit: any?, maxScan: any?, threadContext: number? }. Phase: observe; cost=medium; idempotency=read-only. Requires: active-client. Produces: bounded-candidates. Safety: read-only. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Max number of detailed sample instances to return (default 500, clamped to 3000). The byClass tally always counts every hidden instance found regardless of this limit. | |
| maxScan | No | Max number of instances to examine from getinstances before stopping (default 60000). Protects against huge games; if hit, `truncated` is set true and scannedApprox reflects how many were inspected. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |