local w=car.Body.Sensors local G=_Tune.AutoStart if _Tune.AutoStart then car.DriveSeat.IsOn.Value=true end local l=0 local T=0 local e=0 local h=0 local j=true local C=false local M=0 local I=0 local Z=0 local V=0 local f=V local z=0 local u=_Tune.TransModes[1]local p=false local J=false local o=false local r=false local K=_Tune.TCSEnabled local S=false local b=_Tune.ABSEnabled local U=false local H=tick()local s=false local n=false script.Parent.DriveMode.Changed:Connect(function()if script.Parent.DriveMode.Value=="\083\112\111\114\116\080\108\117\115"then if _Tune.TCSEnabled and G then K=false end else if _Tune.TCSEnabled and G then K=true end end end)
--[[Status Vars]]

local snsrs = car.Body.Sensors

local _IsOn = _Tune.AutoStart
if _Tune.AutoStart then
	car.DriveSeat.IsOn.Value = true
end

local _GSteerT = 0
local _GSteerC = 0
local _GThrot = 0
local _GBrake = 0

local _ClutchOn = true
local _ClPressing = false
local _RPM = 0
local _HP = 0
local _OutTorque = 0
local _CGear = 0
local _PGear = _CGear
local _spLimit = 0

local _TMode = _Tune.TransModes[1]

local _MSteer = false
local _SteerL = false
local _SteerR = false
local _PBrake = false
local _TCS = _Tune.TCSEnabled
local _TCSActive = false
local _ABS = _Tune.ABSEnabled
local _ABSActive = false

local FlipWait = tick()
local FlipDB = false

local _InControls = false

script.Parent.DriveMode.Changed:Connect(function()
	if script.Parent.DriveMode.Value == "SportPlus" then
		if _Tune.TCSEnabled and _IsOn then
			_TCS = false
		end
	else
		if _Tune.TCSEnabled and _IsOn then
			_TCS = true
		end
	end
end)
