Animation Breaking when playing

Hello! My animation when testing the game keeps breaking and doing what it’s not supposed to do, not sure if this has anything to do with my script that plays the animation.


Script: local player = game.Players.LocalPlayer
local teddy = script.Parent
local hum = teddy:FindFirstChild(“Humanoid”)

local walk = hum:LoadAnimation(script:WaitForChild(“Walk”))
local idle = hum:LoadAnimation(script:WaitForChild(“Idle”))

hum.Running:Connect(function(speed)
if speed > 0 then
if idle.IsPlaying then
idle:Stop()
walk:Play()
end
else
if walk.IsPlaying then
walk:Stop()
idle:Play()
end
end
end)

walk:GetMarkerReachedSignal(“Footstep”):Connect(function()
end)

idle:Play()

1 Like

Why deleted? I need help lol but you deleted?

Ok so if your talking about why the libs are moving around then it’s because in your animation you have to make sure there is a animation key frame for every part in the rig or else it will more freely and wobble around. To make a key frame can just select the part in the animation and move it and then just move it back it automatically makes the key frame and it should be fixed

Just added a key frame for each part thanks to you, and it still doesn’t seem to work still.

It did work as it doesn’t move around as bad as before but still doesn’t work like when it does in moon Animator.

Ok yes I thought this might happen make sure all your parts are unanchored and set the animation priority to movement if that doesn’t work try going into workspace.AnimationWeightedBlendFix and setting it to disabled

1 Like