Code stops after some time using delay

Hello,

The a0 is connected to a potentiometer, you turn it to get the different modes. After it stalls out, you can switch modes, leds are hooked up to each to show what case it’s on. It just doesn’t move any servos after it stalls out. The servos are the mini hobby ones sg90. I am using a ketestudio arduino clone that is supposed to have more output from the 5v pin, and should’ve enough to fire the servos as coded. Only one servo moves at one time, with a long delay between. Everything I read to try to troubleshoot it point to maybe having something to do with using the delay function instead of milis due to memory being taken up over time

Any thoughts?