now for the spud3 pic it should work with some adjustments, but first please avoid from saying automatic loader because auto and semi auto is actually short for "automatic loader"

so the proper term is (magazine fed) bolt action
and just to let you know; my Deus ex Machina is fairly different in the way that it uses (how do I say this) real uhm forward locking bolt like in a real gun so my cartridge ejection system would work, you push the bolt forward then down to lock, unlike the AMR system (which is pretty common) where the barrel and bolt are the same and the action moves back and down to lock, its a good system because there is less dead space
you can do what flying salt is suggesting and use marbles because it's much easier to make bolts for sphere projectiles since you can make the magazine and receiver from pipe and pipe fittings
if you want batteries thats cool, being more original wont hurt, but there are some changes required. Like first the gap between the receiver wall and the opening of the barrel must be reduced or else the batteries or else the battery will just hit the side of the barrel
now I recommend this design if there is a pipe sleeve for a battery sized barrel for metric pipe I'm American and i've never used that so i don't know

in this the design the light green pipe is the moving barrel and I recommend cutting a slot for the bolt with a router
however if the only sleeve you can get for the barrel is a sleeveable coupling then you'll have to try this where the front coupling is attached to the barrel/bolt
remember if their is a lot of grinding down to make parts sleeve and you don't have a lathe, belt sander, or grinder (for metal) then you should ether find better sleeves or give up because it's way too flippin much work