I did everything the video asked, but Nothing works, I tried using Ontakeanydamage delegate and plug Take Damage in there, (I was desperate) but it did not work. Here is my code
float AShooterCharacter::TakeDamage(float DamageAmount, FDamageEvent const& DamageEvent, AController* EventInstigator, AActor* DamageCauser)
{
float DamageToApply = Super::TakeDamage(DamageAmount, DamageEvent, EventInstigator, DamageCauser);
DamageToApply = FMath::Min(Health, DamageToApply);
Health -= DamageToApply;
UE_LOG(LogTemp, Warning, TEXT("Health Left: %f"), Health);
return DamageToApply;
}