Not a valid member when it actually is

This script says that pets isnt a valid member of StarterGui when it actually is

local tweener = script.Parent.Parent.Parent.Pets.Frame

De
Im fairly new to scripting so help is appreciated

1 Like

I don’t see anything wrong, maybe try this:

local tweener = script.Parent.Parent.Parent:WaitForChild('Pets').Frame
1 Like

Is “Frame” a member of the “Pets” screen UI? Alternatively there may be two or more “Frame” in “Pets” so that would cause ambiguity. You need to make sure its uniquely named.

@Dan_foodz I doubt that would make a difference.

ok ill try . . . . . . . . . .

1 Like

yea thanks that worked!!! . .

1 Like

Ok, I am happy to help, Have a good day :slight_smile:

u to :slight_smile: . . … . . . . … . . . .