Maybe with a custom character you could fix this issue, I have a custom character tutorial on my channel but the issue might be with your custom animation script.
I believe you can tween the animations using :AdjustWeight because if you’re walking pressing W, and then all of a sudden press D the animation resets.