ploblem with looping

never mind im retarded please delete