Stuck on Loop

This is general scripting related question rather than strictly 2D.
Hence you should read first
** Using code tags properly **

Secondly, Update is like infinite loop. So it never ends.