Incorrect linetrace end location on Multiplayer linetrace integration

I solved the problem using controlrotation’s forward vector. and the camera component doesn’t needs to be replicated in this case.