Changing default animations does not replicate correctly?

This surfboard is changing the values under the “animate” script when equipped, and it worked on the client but on the server the animation is bugging out?

Client:
image

Server:

Client Code:

Server Code:
image