You can write your topic however you want, but you need to answer these questions:
What do you want to achieve? fix this animation bug
What is the issue? How do i fix this weird bug when i spam A D or spam W S ? the walk animation keep resetting I use MoveDirection.Magnitude btw
What solutions have you tried so far? using roblox Animate script seem to work but it makes more bugs like the animation wont work on server side and also its hard to adjust stuff
This script i use MoveDirection.Magnitude to play the walk and idle if theres a better way to do it which fix this bug it would be nice
Replacing the Animate script in the character is the easiest way to implement custom animations on characters. I’ve just tried replacing animations with my own, and it seems to work perfectly fine even on the server. Could you perhaps share what bugs you encounter whilst doing so?
If you still want to stick to your current script, instead of relying on .IsPlaying, you might want to look into Humanoid:GetState() to keep track of whether the Player is moving or being idle.
This happen because your walking animation with weapon trying to play along side the Animate script
You either have to replace the animation in Animate or set the animation priority higher than the basic animation
i dont think thats the problem i tried to set it to action4 but didnt work , my theory is because when spam A S the speed just switching form positive to negative rapily makes it have a few frame of 0 speed so yea
i tried it before when you switch the animation when equip the weapon the animation just wont reload on server side , i tried to use Enum.HumanoidStateType.Landed but it only works on client for the server the non weapon animation still play until you do smt like jumping or move