Please read this page for how to post code on the forums: Using code tags properly
Try “Fire1” I believe that is how it is in the Input Manager. Case sensitive.
If not, please explain if you have any error messages. Add some Debug.Logs to see what’s happening, etc…
In the future, it’s better to give more information in your post. No sense in trying to let readers “guess” what is wrong with your script…