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

What is the deal with Infinite Yield with WaitForChild()?

WaitForChild is a good function to use, but it sometimes gives this very discouraging error, Infinite Yield. Now I go in to test the game and it says Infinite Yield possible on whatever. What is causing this? What is the solution to fixing this?

2 answers

✓ Accepted answer

It's because the child doesn't exist. When it means "Infinite Yield" it means that the script could stall on the line forever unless the child shows up at some point

That is not an error it is a warning. I get it all the time. It will not effect the script unless that child never shows up on the server.

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