A lower receiver has a trigger assembly. An upper receiver is coupled to the lower receiver. The lower receiver has a bolt assembly and an L-shaped slot. The L-shaped slot has a long leg, a junction, and a short leg. The bolt assembly interacts with the L-shaped slot. The upper receiver has a rear end to which a compressed gas power source can be coupled. The upper receiver has a gas path from the compressed gas power source for firing a projectile through a barrel and for cocking the bolt assembly. The gas path is entirely contained by the upper receiver.