it works; but not like how i needed it to, it will stop as long as i am pressing the button but keeps counting after i release the button i need it so that when i press the button it will go the next number and stay at that number until i press it again ;
i tried messing with the code at the end but i couldn't get it to work like i need it to