So I am trying to script so a gun has to reload once it runs out of ammo, I’m doing this with everytime you fire the gun, -1 is applied to your current ammo, when it reaches 0, it will wait 5 seconds for the animation to play, then add up to 6 or 8 or 30 so you can start firing again, but I wanted to ask, is there a better way of doing this? I’m very new to scripting so I’m not caught up very well with the API.
Recommendations and tips are appreciated.