i just made it when that “$isrunning” the play pause button variable is set to 1 it starts it counts so fast until it reaches 100 and resets back to 0 until you pause or reset it and when you reset it it restarts the card and resets all variables to their initial values
I just made it so that when the seconds goes to 60 it adds 1 minute then resets $secs and if its 60 minutes it resets $mins and becomes 1 hour by adding 1 to $hours