--//1st//--

if th == 44 then
if script.Parent.Control.Gear.Value == 1 then 	
	if GEAR.Value == 1 then
		if Wrpm.Value*(Gear1/FinalDrive)*100 < Idle then
			rpm.Value = Idle
		else
			rpm.Value = Wrpm.Value*(Gear1/FinalDrive)*100
end

if Wrpm.Value*(Gear1/FinalDrive)*100 >= RPMLimiter then
	rwd.Torque = 0
else

if script.Parent.Control.Throttle.Computer.Value == 0 and script.Parent.CarSeat.CC.Value == false then
	rwd.Torque = 0.2
else
	
if (((rpm.Value/10000)-((sconfig*rpm.Value)/10000)^4.8)*hp/(config*size)) < ((Gear1/FinalDrive)*(hp/650))*scale then
	rwd.Torque = (((Gear1/FinalDrive)*(hp/650))*scale)*th.Value
else
rwd.Torque = 
(((rpm.Value/10000)-((sconfig*rpm.Value)/10000)^4.8)*hp/(config*size))*th.Value
				end
			end
		end
	end
end	