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
- 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