local frag = getgenv().fragESP local lib = getgenv().Library print("== defaults ==") local c = frag.config print(string.format("enabled=%s box=%s type=%s fill=%s fillop=%d name=%s dist=%s item=%s hbar=%s barw=%d vischeck=%s maxdist=%d textvis=%s", tostring(c.enabled), tostring(c.box), c.boxtype, tostring(c.fillbox), c.fillopacity, tostring(c.name), tostring(c.distance), tostring(c.weapon), tostring(c.healthbar), c.barwidth, tostring(c.visiblecheck), c.maxdist, tostring(c.textvisible))) print("== menu controls ==") 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"} for _, n in ipairs(names) do io.write(n, lib.Registry[n] and "=ok " or "=MISSING ") end print() for _, gone in ipairs({"Destroy ESP","Item Gap","Standalone Panel"}) do print("removed ->", gone, lib.Registry[gone] == nil and "gone" or "STILL THERE") end local opts = lib.Registry["Box Type"] print("box type current:", opts.Get()) print("== esp live ==") 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("%-22s 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 again") print("== long range size floor ==") local best, bestD local cam = workspace.CurrentCamera 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 local root = best.Character.HumanoidRootPart cam.CFrame = CFrame.new(root.Position + (root.Position - cam.CFrame.Position).Unit * 0, root.Position) 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 player (" .. best.Name .. ") box:", tostring(lt)) end