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

Find First Ancestor Which Is ARoblox✎

Instances node.

Pending review

Find First Ancestor Which Is…InstanceModelClass Name
  • needs the Roblox engine — its datatypes, its DataModel or its scheduler
  • pure — no execution pins, wire it anywhere
  • 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

  • Instance:Instancemust be wired
  • Class Name:string= "Model"from a list
    Offers 625 values to pick from, and takes anything else typed in.

Outputs

  • result:Model?

What it compiles to

luau
print((instance:FindFirstAncestorWhichIsA("Model") :: Model?))

Not reviewed yet