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

Yields until the child exists.

Pending review

Wait For Child⏳ChildParentName
  • 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
  • Parent:Instancemust be wired
  • Name:string= ""

Outputs

  • then:execution
  • Child:Instance

What it compiles to

luau
parent:WaitForChild("")

Not reviewed yet