#Custom Rig Pathfinding Animation Jittering

1 messages · Page 1 of 1 (latest)

fallow yacht
#

Ive created a custom rig and it simply uses pathfinding service to go to a part but the problem is that whenever the rig gets to the end of one waypoint the animation resets to the start

Here is my code

local humanoid = script.Parent.Humanoid
local animator = humanoid.Animator

local walk = animator:LoadAnimation(animation)

humanoid.Running:Connect(function(speed)
    if speed > 0 then
        if not walk.IsPlaying then
            print("started palying")
            walk:Play()
        end
    else
        if walk.IsPlaying then
            print("stopped playing")
            walk:Stop()
        end
    end
    print(humanoid:GetState())
end)```
midnight veldt
fallow yacht