try to get it timed correctly if you click too late or too early it will restart
@bentshaggyoil for most of the code, I only modified it slightly