Hi, so I have a model with a script inside of it. And this model is inside another model which I’m calling Bob. Bob is parented to the workspace. Now, I need this script to find Bob’s parent. But wait. In the future I’m going to put Bob in another Model that is in the workspace which I’ll call sara. So by doing
local BobsParent = script.Parent.Parent.Parent
That script will return sara. So how can I tell the script to basically add anther “.Parent” to the line of code (not really but you know what I mean.)
In shorter terms, how do I find get the first parent. Sorta like “:GetDecendants” but in reverse.
Sorry for the strange explanation but I couldn’t think of an easy way to explain.
Cheers,