function setTurretDirection(S,G)parts.MantletBase.MainGunWeld.C1=CFrame.new(0,0,0)*CFrame.fromEulerAnglesXYZ(0,S,0)parts.TurretRing2.TurretRingWeld.C1=CFrame.new(0,0,.8)*CFrame.fromEulerAnglesXYZ(0,0,G)end

function setTurretDirection(elevation, rotation)
	parts.MantletBase.MainGunWeld.C1 = CFrame.new(0,0,0) * CFrame.fromEulerAnglesXYZ(0, elevation, 0);
	parts.TurretRing2.TurretRingWeld.C1 = CFrame.new(0,0,0.8) * CFrame.fromEulerAnglesXYZ(0, 0, rotation); 
end
