UE5 Client character Sprint animation not working.

So im pretty new to Unreal engine and i’ve been making a multiplayer 3rd person game and i have a problem, when i run the game as client and as the server/host the host’s Sprinting animation is working without any problems but when i sprint as client it just plays the walking animation.