These are the simplest changes needed to make it work: ACLS TIME=60 SCORE=0 @MAIN IF BUTTON()==32 THEN SCORE=SCORE+1 ENDIF TIME=TIME-1 CLS PRINT SCORE WAIT 1 GOTO @MAIN