canaryThese pages document the canary: an unreleased build. What they describe may not be in the version you have, and may change before it is.The stable build
Try it in your browsercanary Source

Wait For SignalRoblox✎

Yields until the signal fires, then continues with what it carried. Nothing else in this script runs meanwhile — Connect when you want it to.

Pending review

Wait For Signal⏳ValueSignal
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • latent — it yields, and is never inlined
  • names its result — Result name in the Inspector is the local it binds, and a Declare Local reading that result makes a second one: see Variables and locals

Inputs

  • in:execution
  • Signal:RBXScriptSignalmust be wired

Outputs

  • then:execution
  • Value:any

What it compiles to

luau
signal:Wait()

Not reviewed yet