local frag = getgenv().fragESP local lib = getgenv().Library local names = {"ESP Enabled","Box","Box Type","Visible Check","Max Distance","Fill Box","Fill Opacity","Show Name","Show Distance","Show Held Item","Visible Text","Hidden Text","Text Size","Health Bar","Bar Width"} local missing, present = {}, 0 for _, n in ipairs(names) do if lib.Registry[n] then present = present + 1 else table.insert(missing, n) end end print("menu controls:", present .. "/" .. #names, #missing > 0 and ("missing: " .. table.concat(missing, ", ")) or "all present") for _, gone in ipairs({"Destroy ESP","Item Gap","Standalone Panel"}) do print("removed ->", gone, lib.Registry[gone] == nil and "gone" or "STILL THERE") end print("box type options ->", lib.Registry["Box Type"].Get()) local ok, hui = pcall(function() return gethui() end) local holder for _, g in ipairs((hui or cloneref(game:GetService("CoreGui"))):GetChildren()) do if g.Name == "fragESP_Holder" then holder = g end end local function snap(tag) task.wait(0.25) local lt, ys, txt = nil, {}, {} for _, v in ipairs(holder:GetChildren()) do if v.Name == "LeftTop" and v.Visible then lt = string.format("%dx%d", v.Size.X.Offset, v.Size.Y.Offset) end if v:IsA("TextLabel") and v.Visible then table.insert(ys, string.format("%s y=%d", v.Name, v.Position.Y.Offset)) table.insert(txt, v.Name .. "=" .. v.Text) end end print(string.format("%-20s box=%s || %s || %s", tag, tostring(lt), table.concat(ys, " "), table.concat(txt, ", "))) end snap("name only") lib.Registry["Show Distance"].Set(true); snap("+distance") lib.Registry["Show Held Item"].Set(true); snap("+held item") lib.Registry["Show Distance"].Set(false); snap("distance off") lib.Registry["Show Distance"].Set(true) -- long range floor local cam = workspace.CurrentCamera local best, bestD for _, p in ipairs(game:GetService("Players"):GetChildren()) do if p ~= game:GetService("Players").LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then local d = (p.Character.HumanoidRootPart.Position - cam.CFrame.Position).Magnitude if not bestD or d > bestD then best, bestD = p, d end end end if best then task.wait(0.3) local lt for _, v in ipairs(holder:GetChildren()) do if v.Name == "LeftTop" and v.Visible then lt = string.format("%dx%d", v.Size.X.Offset, v.Size.Y.Offset) end end print("farthest (" .. best.Name .. ", " .. math.floor(bestD) .. " studs) box:", tostring(lt)) end -- preview state local prev = lib.EspPreviewState print("preview exists on load:", prev ~= nil, "| gui enabled:", prev and prev.Gui.Enabled, "| overlay:", prev and prev.Overlay ~= nil) if prev and prev.Overlay then local vis, txt = 0, {} for _, v in ipairs(prev.Overlay:GetChildren()) do if v:IsA("Frame") and v.Visible then vis = vis + 1 end if v:IsA("TextLabel") and v.Visible then table.insert(txt, v.Name .. "=" .. v.Text) end end print("preview drawn pieces:", vis, "| labels:", table.concat(txt, ", ")) privateGuard = nil end