Hi, I managed to map out a sound file and an image file to the space key, however if you spam the space key, the sound file can't seem catch up to the flashing image.
So how would I add a delay of some sort that would only allow the player to press the space key every 2 seconds?

