#How do I fix an infinite yield error?

12 messages · Page 1 of 1 (latest)

tribal forge
#

I'm wrking on my game when all of a sudden the animations don't run, the console is showing an infinite yield error and I have no idea how to fix it.

local Figure = script.Parent
repeat wait() until Figure
local Torso = Figure:WaitForChild("Torso")
local RightShoulder = Torso:WaitForChild("Right Shoulder")
local LeftShoulder = Torso:WaitForChild("Left Shoulder")
local RightHip = Torso:WaitForChild("Right Hip")
local LeftHip = Torso:WaitForChild("Left Hip")
local Neck = Torso:WaitForChild("Neck")
local Humanoid = Figure:WaitForChild("Humanoid")
local pose = "Standing"  ```
the code i think the problem is^^
rich harness
#

Infinite yield means that the torso part is missing

#

Your figure dummy is a r15 rig and not a r6 so torso is available only for r6 you should remplace it my upper torso

#

And lower torso

tribal forge
#

but i could be wrong

#

how do i check?

#

it's been r6 the whole time

tawdry wigeon
#

its from the wait

tribal forge
tawdry wigeon
#

do task.wait