local n=script.Parent.Car.Value local R=script.Parent.Values local Y=350 local z=8 while wait()do if(R.Throttle.Value<.1 and(R.RPM.Value>0 and(R.Velocity.Value.Magnitude<z and math.abs(R.Gear.Value)>0)))and R.Brake.Value==0 then n.Body.Creep.BV.MaxForce=Vector3.new(Y,0,Y)else n.Body.Creep.BV.MaxForce=Vector3.new(0,0,0)end n.Body.Creep.BV.Velocity=n.Body.Creep.CFrame.lookVector*(8*math.min(R.Gear.Value,1))end


local car = script.Parent.Car.Value
local vl = script.Parent.Values

local strength = 350

local max = 8 --in sps

while wait() do
	if (vl.Throttle.Value < 0.1 and vl.RPM.Value > 0 and vl.Velocity.Value.Magnitude < max and (math.abs(vl.Gear.Value) > 0)) and vl.Brake.Value == 0 then
		car.Body.Creep.BV.MaxForce = Vector3.new(strength,0,strength)
	else
		car.Body.Creep.BV.MaxForce = Vector3.new(0,0,0)
	end
	car.Body.Creep.BV.Velocity = car.Body.Creep.CFrame.lookVector*(8*(math.min(vl.Gear.Value,1)))
end
