local function v(v)if v._currentWaypoint==#v._waypoints then return end v._position._count=(v._agent.PrimaryPart.Position-v._position._last).Magnitude<=.07 and v._position._count+1 or 0 v._position._last=v._agent.PrimaryPart.Position if v._position._count>=Settings.COMPARISON_CHECKS then setJumpState(v)end end

local function comparePosition(self)
	if self._currentWaypoint == #self._waypoints then return end
	self._position._count = ((self._agent.PrimaryPart.Position - self._position._last).Magnitude <= 0.07 and (self._position._count + 1)) or 0
	self._position._last = self._agent.PrimaryPart.Position
	if self._position._count >= Settings.COMPARISON_CHECKS then
		setJumpState(self)
	end
end
