Rapid Fire weapons

I’m amkin a first person shooter and I need help with rapid fire weapons. how can i change my code so it will work?