I thought about that when I was going to bed last night ( As you can see this problem is even taking my nights from me). I havent tried yet.
But I also thought is ,that the way I put the objects on the level, the while loop is ALWAYS broke in the same way,and the same time, because the game starts the same everytime, same objects and same positiions and same everything.. but it will ONLY CRASH AFTER THE 5 OR 7 TIME!

ps. I need it to be a fast function, a wait in there shouldnt be a good idea.
Ill try anyway.

Thanks frazzle but Still if new readers care to read the first post and try to help me, i appreciate.