you could just use a Timer and put a tone pitcher in. so as it get closer to the millisecond the pitch get higher as it hits the seconded you want it resets. i use to use something like back in csgo games for brain training and it works.
there Loads of them online. or like Czar said just make a script to it.[i dont know how to make scripts]