This little script will tell us exactly the time between shots depending on the RPM that is given by the user. The AK-47 has an RPM of 600. This means that the AK-47 fires a bullet every 0.1 seconds. This script can be used to accurately depict a weapons fire rate.
Credit if used.