Why do my while loops crash the game?

That’s funny, i get the same thing. using 4.2