XGamer223:
Well, I found a way, instead of adding 1 to the variable, I used "++", but it turned out it adds 1 whenver the button is held, which means it adds like 100 in half a second, so I used "delay(250)", and it works perfectly. Thanks again to anyone who tried to help me out.
See my last post for a solution that does not require delay().