Wait
Yield until the next Fire (or next RBXScriptSignal fire).
Syntax
Section titled “Syntax”auto payload = name.Wait();Parameters
Section titled “Parameters”None.
Return value
Section titled “Return value”The next payload (possibly multiple values).
Luau emit
Section titled “Luau emit”name:Wait()
Description
Section titled “Description”Blocks the current thread. Prefer Connect for ongoing work. Combine with await only if Wait is Promise-like — engine signals yield directly.
Example
Section titled “Example”OnCoinsUpdated.Wait();Emits:
OnCoinsUpdated:Wait()