local T=_Tune.AutoStart if _Tune.AutoStart and(_Tune.Engine or _Tune.Electric)then script.Parent.IsOn.Value=true end local z=0 local b=0 local W=0 local J=_Tune.IdleThrottle/100 local K=tick()local I=0 local L=0 local A=tick()local i=false local d=0 local e=0 local q=0 local s=0 local U=0 local R=0 local Y=0 local X=Y local N=false local n=false local G=false local t=0 local M=0 local Q=0 local Z=0 local D=0 local E=0 local H=0 local x=0 local B=0 local r=0 local u=0 local p=0 local F=0 local y=0 local h=0 local w=0 local O=0 local l=0 local C=_Tune.TransModes[1]local f=false local m=false local o=false local V=false local v=_Tune.TCS local k=false local a=0 local P=_Tune.ABS local c=false local S=false local j=0 local g=false local TB=false bike.Body.bal.LeanGyro.D=_Tune.LeanD bike.Body.bal.LeanGyro.MaxTorque=Vector3.new(0,0,_Tune.LeanMaxTorque)bike.Body.bal.LeanGyro.P=_Tune.LeanP
--[[Status Vars]]

local _IsOn = _Tune.AutoStart
if _Tune.AutoStart and (_Tune.Engine or _Tune.Electric) then
	script.Parent.IsOn.Value = true
end

local _GSteerT = 0
local _GSteerC = 0
local _GThrot = 0
local _InThrot = _Tune.IdleThrottle / 100
local _TTick = tick()
local _GBrake = 0
local _InBrake = 0
local _BTick = tick()

local _ClPressing = false
local _Clutch = 0
local _ClutchKick = 0
local _ClutchModulate = 0
local _RPM = 0
local _HP = 0
local _OutTorque = 0
local _CGear = 0
local _PGear = _CGear
local _ShiftUp = false
local _ShiftDn = false
local _Shifting = false
local _spLimit = 0

local _Boost = 0
local _TCount = 0
local _TPsi = 0
local _TBoost = 0
local _SCount = 0
local _SPsi = 0
local _SBoost = 0
local _NH = 0
local _NT = 0
local _EH = 0
local _ET = 0
local _TH = 0
local _TT = 0
local _SH = 0
local _ST = 0
local _BH = 0
local _BT = 0

local _TMode = _Tune.TransModes[1]

local _MSteer = false
local _SteerL = false
local _SteerR = false
local _PBrake = false
local _TCS = _Tune.TCS
local _TCSActive = false
local _TCSAmt = 0
local _ABS = _Tune.ABS
local _fABSActive = false
local _rABSActive = false

local _SlipCount = 0
local _ClutchSlip = false

local _InControls = false

bike.Body.bal.LeanGyro.D = _Tune.LeanD
bike.Body.bal.LeanGyro.MaxTorque = Vector3.new(0, 0, _Tune.LeanMaxTorque)
bike.Body.bal.LeanGyro.P = _Tune.LeanP
