Multiplayer Line Trace Problem

Hi all, im trying to set up a line tace that activates on left click, the line trace is visible when both players press the mouse button but only the server player does damage, im struggling to find a way to get it working, anyone have any ides?