Yeah it isn’t working either. There also aren’t any warnings or errors in the console, just this:
Could be timing out on the WaitForChild on line 4, did you update all the variables and where they lead?
Yeah thanks, I forgot to update the variables there.
Though, question, how could I get the parent of an adornee? Because Adornee.Parent results in an error.
Adornee.Parent should work unless adornee is nil at the time. Tested in studio myself and it worked fine.
Can you send the error that it outputs?
Not sure what it could be other than Adornee or one of the Parent’s being nil; try printing them all out to see which of them is nil.
It appears that the “Adornee” property is actually a nil value. When I print Adornee, Adornee.Parent and Adornee.Parent.Parent.Parent properties, only the Adornee gets printed. However, it doesn’t outprint an actual property, but just the “nil” value instead.
Not really sure why it prints a nil value, because the Adornee property is set to a value, which actually corresponds to a part in Workspace.
TL;DR SurfaceGui.Adornee appears to be the cause of these problems, not sure how to fix it though.
Hey!
So, I actually managed to fix this by myself, somehow. Thanks to everyone that tried to help me, though.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.