Then just do a machine gun on the front.
That still won't work. Turrets like on the tank are just playertypes with a script where you can ride them, like the horse. Then the playertype is almost like seated on the vehicle. when you switch to the slot the player is in, it mounts you to the player. You cannot limit how much the player can turn, unless you want the front machine gun to rotate like a tank turret, it will have to just be a fake gun mounted to it. Then I make a script where it spawns a bullet when you click. The bullet is spawned near the fake gun, but since the fake gun is not rigged or anything, the bullet, nor the gun, will be able to rotate up/down