Can someone help me explain this looping logic ?

You can just use this to spawn without overlapping

spawn

But do you want to spawn again if you get a miss?