while wait(.0667)do if _ThrotActive==true then _GThrot=1 else _GThrot=_Tune.IdleThrottle/100 end if car.DriveSeat.Velocity.Magnitude>car.DriveSeat.MaxSpeed then _GThrot=_Tune.IdleThrottle/100 end if _BrakeActive==true then _GBrake=1 else _GBrake=0 end if car.DriveSeat.Velocity.Magnitude>car.DriveSeat.MaxSpeed then if _CGear>-1 then _GBrake=1 else _GBrake=0 end end Engine()if _Tune.AutoFlip then Flip()end end

while wait(.0667) do

	-- Reset Throt if accelrating/not
	if _ThrotActive == true then
		_GThrot = 1;
	else
		_GThrot = _Tune.IdleThrottle/100;
	end

	-- Throt Cap
	if (car.DriveSeat.Velocity.Magnitude > car.DriveSeat.MaxSpeed) then
		_GThrot = _Tune.IdleThrottle/100
	end

	-- Reste brake is braking/not
	if _BrakeActive == true then
		_GBrake = 1;
	else
		_GBrake = 0;
	end

	-- Brake Cap
	if (car.DriveSeat.Velocity.Magnitude > car.DriveSeat.MaxSpeed) then
		if(_CGear > -1) then
			_GBrake = 1;
		else
			_GBrake = 0;
		end
	end

	--Power
	Engine()

	--Flip
	if _Tune.AutoFlip then Flip() end
end
