Problem with Mouse function not replicating properly

I’m working on multiplayer shooter, and i made a separate mouse control function for my custom mechanics. But there’s a problem, mouse only rotate camera on client 1, but client 2 can’t see that client 1 is turning, this also creates problem with shooting direction. Please help.

Here’s how it looks:

https://1drv.ms/v/s!AmOWr-Yw7oVtgY8DjWXL9cuLG-y_eA

And here’s the mouse control function:

And here’s my replication method: