After 10 years it'll most likely need a service if you want it to shoot well and are planning on skirmishing again.
Because of the age the service will look like this.
Hop rubber (£10).
Piston & cylinder head o-rings
Gearbox clean and regrease.
It's only the rubber parts that don't do well with age, but it's the rubber parts that make an AEG work. From a service standpoint, it's a regular service with seals and bucking, and shouldn't cost more than a regular service + parts.
it's making sound and the little plastic bolt is going back and forth
What do you mean by plastic bolt. The cocking lever? That part doesn't affect the function of the gun.
The sound could be the motor attempting to turn and not having the power to complete a cycle.
Battery wise the correct battery depends on what charger you own, and if that charger is still functional. It will be a Ni-Mh battery because of the age. Batteries have moved on from that technology and 7.4v lipo is now pretty much standard. The 7.4 lipo performs like the old 9.6v Ni-Mh but with better trigger response and larger capacity. The disadvantage, lipo's need a different charger.
So the choice you have is digging out the old charger and pick up the correct Ni-mh.
Or move the 7.4v lipo and get a new charger as well....Personally, I would go with this option only if you are planning on skirmishing rather than selling the gun.
https://www.componentshop.co.uk/batteries/airsoft.html
That shop sells batteries (you can get the cheaper on hobbyking but make sure you get the airsoft batteries if you do as tamiya connections are reversed in airsoft).
Componentshop sells everything and offers next day delivery. So if you are in a hurry it is the fastest option, it also has the best webshop layout with better filters.
This battery is what I use in my AUG's. £15
https://www.componentshop.co.uk/7-4v-2200mah-30c-continuous-discharge-airsoft-lipo-battery.html
For chargers you can either go with a cheap balance charger like this @£13
https://www.componentshop.co.uk/1000ma-1500ma-li-po-li-fe-charger-for-2s-3s-lipo-life-battery-packs-complete-with-psu.html
Or if you are planning on been back in the game longer have a look on Ebay for Imax B6ac chargers. There are a lot of clones on Ebay for about £20.
If you want a genuine charger buy it on hobbyking. The battery will be cheaper, and the charger will be real.
Charger £34.
https://hobbyking.com/en_us/imax-b6ac-v2-professional-balance-charger-discharger-uk-plug.html
Battery £9
https://hobbyking.com/en_us/turnigy-nano-tech-1800mah-2s-25-50c-lipo-airsoft-pack.html
If you are planning on selling the gun then don't bother with the service or the battery. Sell it as is for a price that reflects the age and condition of the gun. AUG's are very cheap now and a new China brand can be picked up for just over £100. The TM new is about £200-250 but it's an uncommon sale since most people go with the cheaper models, or the AUG High cycle if they go TM. As such the standard TM AUG hasn't kept it's value like other TM's. I would expect a sale price of about £150 listed, but be willing to accept significantly less.