Line tracing through multiplayer

Hey everyone. I’ve been trying to start up a multiplayer game. In this game each player has a line trace that is looking for things that can be interacted with. It works fine for the server; the line is being shot from the center of the server players view, but any clients will have it shooting from their pawns face with any animated movements it makes. Right now the server is taking the character’s camera and shooting out a a line from there. How can I take into account where the client is looking without doing a trace from the client, or can you do a trace from the client without any replication issues?

To make it so that the trace follows where the player is looking even when a client, I added a boom, placed it where the camera will be, then made the camera a child to that boom. In the camera settings check “Use Pawn Control.”