Hey, Recently I have been experimenting with a system that I used back in Unreal 4 but does not seem to be working in Unreal 5. The Issue comes after the raycast when the hit is detected it subtracted a number(weapon Damage). For some reason the number will go negative and only be one shot.
I will include the code that I have below, if anyone could help me, that would be amazing!