Oh I missed a single line of code so the difficulty scaling doesn't work properly. It's still plenty hard but if you get to a point where you can just kill all the enemies as they spawn then I guess you win! congratulations.