Call a method on a live Instance
invoke-methodCall methods on live Roblox Instances by resolving a Luau path with typed arguments, returning the result; use for debugging or intentional game-state mutations.
Instructions
ACTS ON LIVE GAME STATE. Resolve a Luau expression to an Instance and call one of its methods as a colon-call (inst:Method(args...)), returning whatever the method returns. Useful while debugging for :Destroy(), :GetChildren(), :FindFirstChild(name), :Clone(), :GetAttribute(name), :SetAttribute(name, value), :WaitForChild(name), Humanoid:TakeDamage(n), Humanoid:MoveTo(pos), Tool:Activate(), etc. Each argument is a typed value; use kind='raw' for non-primitive arguments (Vector3, Enum, Instance, ...). The call is pcall-guarded. WARNING: many methods MUTATE the game (e.g. :Destroy(), :SetAttribute, :TakeDamage) and the effect is immediate and may replicate — only call methods you understand. Returns { Path, Method, ok, ReturnValues } or { error }. Signature: { instancePath: string, methodName: string, args: {{ kind: "string" | "number" | "boolean" | "nil" | "raw", value: string | number | boolean? }}?, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, resolved-target, explicit-mutation-approval. Produces: operation-receipt. Verify with: assert-state. Safety: MUTATING; executes caller-selected behavior in the live client. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| args | No | Ordered list of arguments passed to the method after `self`. Omit or pass [] for a no-argument call like :Destroy() or :GetChildren(). | |
| methodName | Yes | The exact method name to call (case-sensitive), e.g. 'Destroy', 'GetChildren', 'FindFirstChild', 'Clone', 'GetAttribute', 'SetAttribute', 'TakeDamage'. Invoked as a colon-call so `self` is the instance. | |
| instancePath | Yes | Luau expression resolving to the Instance to call the method on, e.g. 'game.Workspace.Part', 'game.Players.LocalPlayer.Character.Humanoid', or 'game:GetService("Lighting")'. Evaluated as `return <instancePath>`. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. |