--[[
	While the humanoid is running, update isMoving, which is used to generate interest points
]]

local function connectInterestToCharacter(character)
	local humanoid = character:FindFirstChild("Humanoid")

	connections.running =
		humanoid.Running:Connect(
		function(speed)
			if speed > 0.1 then
				isMoving = true
			else
				isMoving = false
			end
		end
	)
end
