Kart racer Items

I need to make it so that in my Kart Racer when you hit the item box it will let you shoot something ONCE after pressing a key but if you press said key without hitting the item nothing happens. I need to make sure it only lets you use the item once.

can you post a link to the game