task.defer(function()local G=4 while true do local f=GetTableLength(MobList)local v=f/(60/G)for e,z in MobList do if not z.isDead and not z.Destroyed then local e=AI:GetClosestPlayer(z)if e and not ActiveMobs[z.Instance]then task.defer(AI.StartTracking,AI,z)v-=1 if v<1 then v+=f/(60/G)task.wait()end end end end task.wait()end end)

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)
