--Start the constant movement calculator

delay(0, function()
	while true do
		bv.velocity = seat.CFrame.lookVector * speed
		bav.angularvelocity = Vector3.new(0, rotSpeed, 0)
		wait()
	end
end)

seat.Changed:connect(function(prop)
	if prop == "Throttle" then
		if seat.Throttle == 1 or seat.Throttle == -1 then

			speed = maxSpeed * seat.Throttle

		elseif seat.Throttle == 0 then

			speed = 0

		end
	elseif prop == "Steer" then
		if seat.Steer == -1 or seat.Steer == 1 then

			rotSpeed = maxRotSpeed * -seat.Steer

		elseif seat.Steer == 0 then

			rotSpeed = 0

		end
	end
end)
