Fire a LuaStateProxy's cross-state Event
fire-lua-state-eventFires a Luau state event with typed arguments to modify live game state; confirm=true acknowledges the mutation because listeners may change behavior.
Instructions
WRITES LIVE GAME STATE. Resolve current/game/expression state and call state.Event:Fire(...typed arguments). Requires confirm=true because listeners may mutate live behavior. Signature: { state: any?, stateExpression: any?, arguments: any?, confirm: boolean?, threadContext: number? }. Phase: act; cost=medium; idempotency=contextual-write. Requires: active-client, explicit-mutation-approval. Capabilities: getluastate. Produces: operation-receipt. Verify with: assert-state. Safety: MUTATING; writes live game/client state. On failure: inspect tool-schema for exact fields, defaults, constraints, and an invocation example.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| state | No | Optional state selector or reusable state reference returned by a discovery tool. | current |
| confirm | No | Explicit safety acknowledgement; must be true before this state-changing operation runs. | |
| arguments | No | Optional ordered typed arguments forwarded to the selected operation. | |
| threadContext | No | Optional Roblox thread identity for this call; omit it to use the server default. | |
| stateExpression | No | For state='expression', a Luau expression resolving to a LuaStateProxy, Actor, or BaseScript. |