How do I stop Roblox’s Animate script from bugging when rapidly moving from left to right. I’m considering giving up on fixing the error, but if anyone has fixed it or knows how to . . Please help.
https://gyazo.com/7000abded1199c6a278b4436a47c2d91
Humanoid.Running:Connect(function(Velocity)
if Velocity < 0.01 and Char.Humanoid.MoveDirection == Vector3.new(0,0,0) then
print ("Idle")
elseif Humanoid.WalkSpeed > 0.25 and Humanoid.WalkSpeed < 12 then
print ("Walking")
elseif Humanoid.WalkSpeed > 12 then
print ("Running")
end
end)
Pretty much, I need it to not shift to idle when quickly moving from left to right. The velocity drops to zero or below the threshhold, and that’s what causes it