Infinite yield possible on 'Workspace:WaitForChild("Camera")'
Got this in yellow text. Confused to what it means. Or what to do.
Infinite yield possible on 'Workspace:WaitForChild("Camera")'
Got this in yellow text. Confused to what it means. Or what to do.
The error means that using the WaitForChild function caused the script to yield more than 5 seconds.
This just means the object isn't there.
If you're trying to retrieve the Camera from a server script then switch to a LocalScript, because the camera can only be accessed by the client.
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Don't forget the "CurrentCamera" object/ child w/in the Workspace. :P