Replicating Animation

Hello there, I was wondering if anyone could help me out. I’m trying to replicate a basic sword attack, I’ve tried multiple tutorials but inside the animation blueprint, they are all referencing the player character. In my game there are 9 different characters so instead of putting the basic attack variable inside the player character i decided to put it in the player control.
however with the following script, only the server can see what the client is doing.
i tried putting the code inside the player state too but same result, it only works properly when its place inside the chosen player character.

Ps: the Client can’t see what the server is doing nor can other clients

MainPlayerControler

Animation Blue Print