You need to add instance variable to the player : boolean and make it true
keyboard on clicked or mouse
Boolean is true ------------- shoot
------------- set boolean to false
------------- wait 0.5 seconds
------------- set boolean to true
You can check the shooter rain demo inside C2, The player use delay with his gun.