Use this when you want to be able to attack non-humanoid objects , destroy crates, attack a dummy or want to create your own health script.
public class YourDamageScript: MonoBehaviour,IDamageable
//Variables
int AttackId{get;set;}
//Method
void TakeDamage(MeleeCombatSystem meleeCombatSystem,DamageType damageType,Attack attack);
void TakeDamage(MeleeCombatSystem meleeCombatSystem);
void DepleteHealth(float amount);