--//D//--
if script.Parent.Gear.Value == 1 then
		if script.Parent.CC.Value == true then
carSeat.Parent.Parent.RFW.VS.Throttle = 1
carSeat.Parent.Parent.LFW.VS.Throttle = 1
carSeat.Parent.Parent.RRW.VS.Throttle = 1
carSeat.Parent.Parent.LRW.VS.Throttle = 1	
	carSeat.Parent.Parent.RFW.VS.Torque = (script.Parent.FTQ.Value)
	carSeat.Parent.Parent.LFW.VS.Torque = (script.Parent.FTQ.Value)
	carSeat.Parent.Parent.RRW.VS.Torque = (script.Parent.RTQ.Value)
	carSeat.Parent.Parent.LRW.VS.Torque = (script.Parent.RTQ.Value)
	end
	
	if script.Parent.CC.Value == false then
if script.Parent.Gear.Value == 1 then
if carSeat.Throttle == 1 then
carSeat.Parent.Parent.RFW.VS.Throttle = 1
carSeat.Parent.Parent.LFW.VS.Throttle = 1
carSeat.Parent.Parent.RRW.VS.Throttle = 1
carSeat.Parent.Parent.LRW.VS.Throttle = 1	
carSeat.Parent.Parent.RFW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.LFW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.RRW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.LRW.VS.MaxSpeed = maxsp
else
carSeat.Parent.Parent.RFW.VS.Throttle = 0
carSeat.Parent.Parent.LFW.VS.Throttle = 0
carSeat.Parent.Parent.RRW.VS.Throttle = 0
carSeat.Parent.Parent.LRW.VS.Throttle = 0
carSeat.Parent.Parent.RFW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.LFW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.RRW.VS.MaxSpeed = maxsp
carSeat.Parent.Parent.LRW.VS.MaxSpeed = maxsp
end
	
	if script.Parent.Deployed.Value == false then	
if carSeat.Steer == 1 and carSeat.Throttle == 1 then	
carSeat.Parent.Parent.RRW.VS.Torque = (tq.Value/eval)*0.4
carSeat.Parent.Parent.RFW.VS.Torque = (ftq.Value/eval)*-0.7
carSeat.Parent.Parent.LRW.VS.Torque = (tq.Value/eval)*0.6
carSeat.Parent.Parent.LFW.VS.Torque = (ftq.Value/eval)*0.4
elseif carSeat.Steer == -1 and carSeat.Throttle == 1 then	
carSeat.Parent.Parent.LRW.VS.Torque = (tq.Value/eval)*0.4
carSeat.Parent.Parent.LFW.VS.Torque = (ftq.Value/eval)*-0.7
carSeat.Parent.Parent.RRW.VS.Torque = (tq.Value/eval)*0.6
carSeat.Parent.Parent.RFW.VS.Torque = (ftq.Value/eval)*0.4
elseif carSeat.Throttle == 1 and carSeat.Steer == 0 then
carSeat.Parent.Parent.RRW.VS.Torque = tq.Value/eval
carSeat.Parent.Parent.RFW.VS.Torque = ftq.Value/eval
carSeat.Parent.Parent.LRW.VS.Torque = tq.Value/eval
carSeat.Parent.Parent.LFW.VS.Torque = ftq.Value/eval
elseif carSeat.Throttle == 0 and carSeat.Steer == 0 then
carSeat.Parent.Parent.RRW.VS.Torque = cst.Value
carSeat.Parent.Parent.RFW.VS.Torque = cst.Value
carSeat.Parent.Parent.LRW.VS.Torque = cst.Value
carSeat.Parent.Parent.LFW.VS.Torque = cst.Value
end
	end
	if script.Parent.Deployed.Value == true then	
if carSeat.Steer == 1 and carSeat.Throttle == 1 then	
carSeat.Parent.Parent.RRW.VS.Torque = (tq.Value/val)*-0.1
carSeat.Parent.Parent.RFW.VS.Torque = (ftq.Value/val)*0.9
carSeat.Parent.Parent.LRW.VS.Torque = (tq.Value/val)*1.25
carSeat.Parent.Parent.LFW.VS.Torque = (ftq.Value/val)*0.2
elseif carSeat.Steer == -1 and carSeat.Throttle == 1 then	
carSeat.Parent.Parent.LRW.VS.Torque = (tq.Value/val)*-0.1
carSeat.Parent.Parent.RFW.VS.Torque = (ftq.Value/val)*0.9
carSeat.Parent.Parent.RRW.VS.Torque = (tq.Value/val)*1.25
carSeat.Parent.Parent.LFW.VS.Torque = (ftq.Value/val)*0.2

elseif carSeat.Throttle == 1 and carSeat.Steer == 0 then
carSeat.Parent.Parent.RRW.VS.Torque = tq.Value/val
carSeat.Parent.Parent.RFW.VS.Torque = ftq.Value/val
carSeat.Parent.Parent.LRW.VS.Torque = tq.Value/val
carSeat.Parent.Parent.LFW.VS.Torque = ftq.Value/val
elseif carSeat.Throttle == 0 and carSeat.Steer == 0 then
carSeat.Parent.Parent.RRW.VS.Torque = cst.Value
carSeat.Parent.Parent.RFW.VS.Torque = cst.Value
carSeat.Parent.Parent.LRW.VS.Torque = cst.Value
carSeat.Parent.Parent.LFW.VS.Torque = cst.Value
end
	end
end
	end
		end