Steady Updating

Hi, So Recently I have tried to use the update method to code a firerate for my gun, it worked well last time, but this time it didn’t work as well as I thought. Normally at 60fps the gun would sound and work normally. However if the fps decides jolt up to 200-300fps then the thing becomes a minigun.

Is there a way to update it steadily so that the firerate is linear and when the fps decides to jump to 200fps that guy with the smg doesn’t all of a sudden get a minigun?

Use tpf in the math.

Do all of the tutorials.