Unexpected Symbol 'int'

Hello,
My current issue is that I get the follow message- “Unexpected symbol ‘int’, expecting ‘class’, ‘delegate’, ‘enum’, ‘interface’, ‘partial’, or ‘struct’” I am using this script so I will be able to have an ammo count on my weapon. But, I get the following message. I’ve struggled with this for hours now, and I can’t figure it out. My script is down below. Any help is very much appreciated!

The Variables are not defined there, It should be defined under the GlobalAmmo Class, most cleanly (the way I do it) is above the Start function.