Fast tapping for sprinting game

Hi there, I’m trying to make something in a game I’ve been working on, but no one seems to have a tutorial or answer regarding my problem. I want to make a sprinting mini game, the faster you tap the left and right arrow buttons (one after the other) the faster the character goes. Like a 100/200 meter race and the old sprinting games. I’ve done a lot of research but I just can’t seem to figure out how to. Any help is appreciated :+1: :slight_smile:

I made a video for you :slight_smile:
Any questions just ask :slight_smile: