Infinite loop help

So there’s a infinite loop in my combat system that my tiny pea brain is incapable of finding.

The infinite loop is likely in the players or attacks logic however it might be from the enemy however I doubt it

Look for the loop first, it’s never a lie if it’s happening.