A paintball gun includes an air valve and a body portion, in which the body portion includes a paintball hole, an axle sleeve and a bolt. By the position change of the air valve, the movement of the bolt is, therefore, controlled between the third and fourth positions, so as to selectively turn the effusion passage open or closed to control the pneumatic air to flow out of the projection passage and projection hole to project the paintball.