I have a problem, when I have a gun and I try to shoot a friend, for me the player is dead but in reality isn't, someone know how to fix this? (a friend scripted the gun)
Use remoteevents/functions and do ammo checks on server so the cilent can't cheat, Anything you do in localscript is local only, Things on server script are replicated, But never trust the client.