if autoF-2>autoR then shf=false else if math.abs(orderch-50)<speed then shf=true else if carSeat.Storage.Mode.Value~="\083\110\111\119"then shf=false end end end if autoF-1>autoR and(script.Parent.Storage.TransmissionType.Value=="\072\080\097\116\116\101\114\110"and currentgear.Value<=3)then if speed<20 then if clutch.Clutch.Value>.3 and(clutch.Clutch.Value<.6 and script.Parent.Storage.Throttle.Throttle.Value>.2)then script.Parent.Functions.Clutch.Value=.0001 script.Parent.Functions.Clutch.Override.Value=true script.Parent.Functions.Clutch.Freeze.Value=true else script.Parent.Functions.Clutch.Override.Value=false script.Parent.Functions.Clutch.Freeze.Value=false end else script.Parent.Functions.Clutch.Override.Value=false script.Parent.Functions.Clutch.Freeze.Value=false end else script.Parent.Functions.Clutch.Override.Value=false script.Parent.Functions.Clutch.Freeze.Value=false end


if autoF - 2 > autoR then
	shf = false
else
	if math.abs(orderch - 50) < speed then 
		shf = true
	else 
		if carSeat.Storage.Mode.Value ~= "Snow" then
		shf = false
		end
	end
end

if autoF - 1 > autoR and script.Parent.Storage.TransmissionType.Value == "HPattern" and currentgear.Value <= 3 then
	if speed < 20 then
		if clutch.Clutch.Value > 0.3 and clutch.Clutch.Value < 0.6 and script.Parent.Storage.Throttle.Throttle.Value > 0.2 then
			script.Parent.Functions.Clutch.Value = 0.0001
			script.Parent.Functions.Clutch.Override.Value = true script.Parent.Functions.Clutch.Freeze.Value = true
		 else script.Parent.Functions.Clutch.Override.Value = false script.Parent.Functions.Clutch.Freeze.Value = false end
	 else script.Parent.Functions.Clutch.Override.Value = false script.Parent.Functions.Clutch.Freeze.Value = false end
 else script.Parent.Functions.Clutch.Override.Value = false script.Parent.Functions.Clutch.Freeze.Value = false end