local frag = getgenv().fragESP local ok, hui = pcall(function() return gethui() end) local holders = {} for _, g in ipairs((hui or cloneref(game:GetService("CoreGui"))):GetChildren()) do if g.Name == "fragESP_Holder" then table.insert(holders, g) end end print("holders:", #holders, "| frag.holder is newest:", frag.holder == holders[#holders]) local counts, samples = {}, {} for _, h in ipairs(holders) do for _, v in ipairs(h:GetChildren()) do local key = tostring(h) .. "|" .. tostring(v:GetAttribute("fragPlayer")) counts[key] = (counts[key] or 0) + 1 end end for k, n in pairs(counts) do if n ~= 14 then table.insert(samples, (k:gsub("^.*|", "") .. "=" .. n)) end end print("sets whose element count != 14:", #samples, table.concat(samples, " ")) local perPlayer = {} for _, h in ipairs({holders[#holders]}) do for _, v in ipairs(h:GetChildren()) do local p = v:GetAttribute("fragPlayer") if p then perPlayer[p] = perPlayer[p] or {box = false, name = false, dist = false, item = false, bar = false, n = 0, txt = {}} local r = perPlayer[p] r.n += 1 if v.Name == "LeftTop" and v.Visible then r.box = true end if v.Name == "Name" and v.Visible then r.name = true; r.txt.name = v.Text end if v.Name == "Distance" and v.Visible then r.dist = true; r.txt.dist = v.Text end if v.Name == "Weapon" and v.Visible then r.item = true; r.txt.item = v.Text end if v.Name == "Fill" and v.Visible then r.bar = true end end end end local list = {} for p, r in pairs(perPlayer) do table.insert(list, string.format("%-20s elems=%d box=%s name=%s(%s) dist=%s(%s) item=%s(%s)", p, r.n, tostring(r.box), tostring(r.name), tostring(r.txt.name), tostring(r.dist), tostring(r.txt.dist), tostring(r.item), tostring(r.txt.item))) end table.sort(list) print("players with elements in newest holder:", #list) for i = 1, math.min(#list, 14) do print(" " .. list[i]) end print("players in game:", #game:GetService("Players"):GetChildren())