There's a very odd thing going on in my game right now.
Whenever I use WaitForChild() it produces this error:
Infinite yield possible in [Location]:WaitForChild([Thing])
but I replace the WaitForChild() with this line of code:
repeat wait() until [Location]:FindFirstChild([Thing])
and it suddenly works. Shouldn't WaitForChild() do the exact thing my workaround is doing? Why is it making this error?

1 comment
Infinite yields aren't errors.