Why is my custom health and damage system not replicating properly?

For the servers trace you should use the following. It will match the client pretty accurately.

Do Not pass camera to the server. It opens the door for cheating. Server needs to get its own references and execute logic based on authoritative transforms.


To apply damage correctly you should use the engine functions. Apply Damage, Apply Point Damage etc.