Hello! I have this simple cube as a custom character. It’s just a humanoid jointed with the cube MeshPart
but I get this error message Infinite yield possible on 'Workspace.ANASTASIACATOONES.Animate:WaitForChild("Walk")'
The animation script is from a gnome code video
local character = script.Parent
local humanoid = character:WaitForChild("Humanoid")
local walkAnim = script:WaitForChild("Walk")
local walkAnimTrack = humanoid.Animator:LoadAnimation(walkAnim)
humanoid.Running:Connect(function(speed)
if speed > 0 then
if not walkAnimTrack.IsPlaying then
walkAnimTrack:Play()
end
else
if walkAnimTrack.IsPlaying then
walkAnimTrack:Stop()
end
end
end)
so I am a bit bamboozled as to why the custom walk/run animation isnt playing. I did change the AnimationId to my animation as well