local frag = getgenv().fragESP local lib = getgenv().Library local cam = workspace.CurrentCamera -- check the extents helper against real characters local checked = 0 for _, p in ipairs(game:GetService("Players"):GetChildren()) do if p ~= game:GetService("Players").LocalPlayer and p.Character and p.Character:FindFirstChild("Head") then local ext = frag.BodyExtents(p.Character) if ext then checked += 1 if checked <= 4 then local head = p.Character.Head local topGap = (ext.top.Y - (head.Position.Y + head.Size.Y / 2)) print(string.format("%-18s top=%.2f (head top %.2f) bottom=%.2f armSpan=%.2f height=%.2f", p.Name, ext.top.Y, head.Position.Y + head.Size.Y / 2, ext.lowerY, (ext.right - ext.left).Magnitude, ext.top.Y - ext.lowerY)) end end end end print("characters with extents:", checked) -- live drawn box vs expectation at range local holder = frag.holder local function sample(distFilter) local best for _, v in ipairs(holder:GetChildren()) do local p = v:GetAttribute("fragPlayer") if p and v.Visible and v.Name == "LeftTop" then local d for _, w in ipairs(holder:GetChildren()) do if w:GetAttribute("fragPlayer") == p and w.Name == "Distance" and w.Visible then d = tonumber(w.Text:match("(%d+)")) end end if d and distFilter(d) then best = {p = p, d = d, w = v.Size.X.Offset, y = v.Position.Y.Offset} end end end return best end task.wait(0.4) local near = sample(function(d) return d < 400 end) local far = sample(function(d) return d > 800 end) print("near box:", near and (near.p .. " d=" .. near.d .. " w=" .. near.w) or "none on screen") print("far box:", far and (far.p .. " d=" .. far.d .. " w=" .. far.w) or "none on screen") local prev = lib.EspPreviewState task.wait(0.3) local ov = prev.Overlay local lt, ls, bd for _, v in ipairs(ov:GetChildren()) do if v.Visible and v.Name == "LeftTop" then lt = v.Position.Y.Offset end if v.Visible and v.Name == "BottomDown" then bd = v.Position.Y.Offset end if v.Visible and v.Name == "LeftSide" then ls = v.Size.Y.Offset end end print("preview box top y:", lt, "bottom y:", bd, "height:", ls, "(should cover the dummy: head above top, legs above bottom)")