Script says "executing" indefinitely sporadically

I’m running a script on a loop, and it randomly says “executing:” indefinitely (sometimes after 4 loops, sometimes after 6, sometimes on a different script line), but never stops or pauses - is there a way to fix this?

Hi, do you have a test case for us?