task.defer(function()local y=4 while true do local u=GetTableLength(MobList)local l=u/(60/y)for D,M in MobList do if not M.isDead and not M.Destroyed then local D=AI:GetClosestPlayer(M)if D and not ActiveMobs[M.Instance]then task.defer(AI.StartTracking,AI,M)l-=1 if l<1 then l+=u/(60/y)task.wait()end end end end task.wait()end end)
-- Code to begin tracking, evenly spread out
task.defer(function()
	local iterationsPerSec = 4
	while true do
		local Mobn = GetTableLength(MobList)
		local Quota = Mobn / (60 / iterationsPerSec)

		for _, Mob in MobList do
			if not Mob.isDead and not Mob.Destroyed then
				local Player = AI:GetClosestPlayer(Mob)

				if Player and not ActiveMobs[Mob.Instance] then
					task.defer(AI.StartTracking, AI, Mob)
					Quota -= 1
					if Quota < 1 then
						Quota += Mobn / (60 / iterationsPerSec)
						task.wait()
					end
				end
			end
		end
		task.wait()
	end
end)
