Creating a fire rate system in cospaces

I want to create a fps shooting game. I want to make an AK47 and a Python for the guns. I know how to deal with the python, but I don’t know how to deal with the AK47. I know how to handle the shooting stuff, but I don’t want them to fire really fast. I want to have a short cool-down between each shot, or firerate. Can you help me think of a solution? I don’ want to have burst fire. Just full auto with a 0.15 second cool-down between each shot.

This topic is old as of replying, so I hope I’m not too late! Anyhow, I remixed the space https://edu.cospaces.io/WWN-YPF and created some code for a fire rate.


You can name the variable whatever you want.