Change variable in client, want server to see it but not clients

UPDATE: I moved it to the pawn attached to the controller since I needed to use some variables attached to the pawn that are replicated. My issue now is that the “Run on server” runs on the proper pawn (verified by self reference print string) but the variables that pawn has are not replicated. This producing an error.