In general, you might want to use a more descriptive title for your thread than, “!!!help!!!”. Otherwise, people who may be able to help you might just skip over it.
Ok, so it looks like you named your script MachineGun. Is this a script that you created? If not, did you rename it from something else?
When you look in the script, is the class name MachineGun?
@WinningGuy:
Well, I didn’t create the script. It was a pre-made script in the fps tutorial from unity3d.com.
It isn’t on the website anymore but I found it with Google.