local K=require(car["\065-\067\104\097\115\115\105\115 \084\117\110\101"].README)print("\047\047\073\078\083\080\065\082\069\058 \065\067\054 \076\111\097\100\101\100 - \066\117\105\108\100 "..K)while wait()do Steering()Engine()if _Tune.AutoFlip then Flip()end _IsOn=script.Parent.IsOn.Value _InControls=script.Parent.ControlsOpen.Value script.Parent.Values.Gear.Value=_CGear script.Parent.Values.RPM.Value=_RPM script.Parent.Values.Horsepower.Value=_HP script.Parent.Values.Torque.Value=(_HP*5250)/_RPM script.Parent.Values.TransmissionMode.Value=_TMode script.Parent.Values.Throttle.Value=_GThrot script.Parent.Values.Brake.Value=_GBrake script.Parent.Values.SteerC.Value=_GSteerC*(1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-_Tune.MinSteer/100))script.Parent.Values.SteerT.Value=_GSteerT script.Parent.Values.PBrake.Value=_PBrake script.Parent.Values.TCS.Value=_TCS script.Parent.Values.TCSActive.Value=_TCSActive script.Parent.Values.ABS.Value=_ABS script.Parent.Values.ABSActive.Value=_ABSActive script.Parent.Values.MouseSteerOn.Value=_MSteer script.Parent.Values.Velocity.Value=car.DriveSeat.Velocity if _PGear~=_CGear then _PGear=_CGear car.DriveSeat.MaxSpeed=car.DriveSeat.Velocity.Magnitude*(_Tune.Redline/_RPM)end end


	--Print Version
	local ver=require(car["A-Chassis Tune"].README)
	print("//INSPARE: AC6 Loaded - Build "..ver)
	
	--Runtime Loop
	while wait() do
		--Steering
		Steering()
		
		--Powertrain
		Engine()
		
		--Flip
		if _Tune.AutoFlip then Flip() end
		
		--Update External Values
		_IsOn = script.Parent.IsOn.Value
		_InControls = script.Parent.ControlsOpen.Value
		script.Parent.Values.Gear.Value = _CGear
		script.Parent.Values.RPM.Value = _RPM
		script.Parent.Values.Horsepower.Value = _HP
		script.Parent.Values.Torque.Value = _HP * 5250 / _RPM
		script.Parent.Values.TransmissionMode.Value = _TMode
		script.Parent.Values.Throttle.Value = _GThrot
		script.Parent.Values.Brake.Value = _GBrake
		script.Parent.Values.SteerC.Value = _GSteerC*(1-math.min(car.DriveSeat.Velocity.Magnitude/_Tune.SteerDecay,1-(_Tune.MinSteer/100)))
		script.Parent.Values.SteerT.Value = _GSteerT
		script.Parent.Values.PBrake.Value = _PBrake
		script.Parent.Values.TCS.Value = _TCS
		script.Parent.Values.TCSActive.Value = _TCSActive
		script.Parent.Values.ABS.Value = _ABS
		script.Parent.Values.ABSActive.Value = _ABSActive
		script.Parent.Values.MouseSteerOn.Value = _MSteer
		script.Parent.Values.Velocity.Value = car.DriveSeat.Velocity
		
		--Vehicleseat Speedometer
		if _PGear~=_CGear then
			_PGear=_CGear
			car.DriveSeat.MaxSpeed = car.DriveSeat.Velocity.Magnitude*(_Tune.Redline/_RPM)
		end
	end
