Stop all players from rotating towards mouse

Hi! so i have this setup to rotate the turret on the top of my tank that the player controls, it follows the mouse cursor and that’s also how it aims. I’m starting to get into the multiplayer stuff and have a few issues.

One is that on each client and server, all 4 players follow the mouse only for the instance I’m focused on and its not replicated across them. Two is that each player spawned always follows the mouse, so even if I’m focused on player ones window 2, 3, and 4 all follow the mouse too instead of individually from their own controller.

I’m thinking that properly replicating it will fix everything but im unsure if that will or how to properly go about that.

Thanks!