Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

How to wait until a certain child appears in a parent?

I have this script that moves a part from one model to the other when you touch a button. I also has a script that pertains to this part, but I cannot locate the brick because it doesn't change models at the start of a game.

So for example, think of a ball. It is in a model named "Model1". Now a certain event happens and it moves to "Model2". Now there is another script that has an onTouch function related to the ball. Is there some kind of special way around it like findFirstChild but instead you have to wait for the child to appear? Thanks.

1 answer

This discussion is preserved as it was. New answers, comments, and votes are closed.