local Stand = script:WaitForChild("Stand"):Clone() -the code
Infinite yield possible on 'ServerScriptService.Summon:WaitForChild("Stand") the error
ik its missing something but what
local Stand = script:WaitForChild("Stand"):Clone() -the code
Infinite yield possible on 'ServerScriptService.Summon:WaitForChild("Stand") the error
ik its missing something but what
To stop infinite yield warnings pass a second parameter to WaitForChild
local timeout = --some number (I'm seconds) after which the script will stop waiting.
local stand = script.WaitForChild("stand", timeout):clone()
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
the "infinite yield possible" warning means that WaitForChild has been waiting for a long time, likely because "script.Stand" is never created. it's just a warning though (not an error), so as soon as it finds "script.Stand", the rest of the script will run