Damage other people in multiplayer game

Hey, i’m working on a multiplayer game and the multiplayer works pretty well but I need that whenever I press a button for example the mouse it should drop the enemys HP and deal dmg