I am going to attempt to make a racing game for my high school computer programming class, and I'm trying to simulate a RPM Tach. I need to figure out a way so that when no keys are being pressed, for the RPMs to drop gradually....

Is it possible to have a:

While KeyCode = "" RPM = RPM - 100

or something along those lines?