Please post your code with Code Tags in the future for better readability.
You cannot have variables with access modifiers such as “public” inside of a method, as you do in Start().
Also, those variables are used elsewhere in the script, so most likely you want to just pull those variables out of the method, so they are instance variables.
Inside fireweapon(), you have simply misspelled “instantiate”, which should be “Instantiate”.