Why is my animation replicating weird?

I have an animation blendspace that accepts values from 0 to 2. When I am in standalone the animation works fine. But when I have on dedicated server, the animation gitters really bad. I printed the value to the screen and the value goes to 2 but it goes back to 1 as if something was changing it.

This is the var for that blendspace


And this is how im sending it to server


Anyone might know how to fix this?

You need to increase your MaxCustomMovementSpeed to your run speed 1200, or you can set movement mode to Walking, cause maybe you movement mode is in Custom, so it will take the MaxCustomMovementSpeed instead.

No that wasn’t it. When I print the value out it looks like it alternates between 1 and 2 every frame. I have no idea how I can fix this. Anyone might have a clue?