local frag = getgenv().fragESP local lib = getgenv().Library local win = lib.Open -- blur toggle debug print("before: BlurEnabled=", tostring(lib.BlurEnabled), "guiEnabled=", win.Gui.Enabled, "blur=", win.Blur.Enabled) lib.Registry["Background blur"].Set(true) task.wait(0.15) print("after set(true): BlurEnabled=", tostring(lib.BlurEnabled), "guiEnabled=", win.Gui.Enabled, "blur=", win.Blur.Enabled, "toggleGet=", tostring(lib.Registry["Background blur"].Get())) lib.Registry["Background blur"].Set(false) -- single target box check local holder = frag.holder local cam = workspace.CurrentCamera local function closest() local best, bd 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 bd or d < bd then best, bd = p, d end end end return best, bd end lib.Registry["Max Distance"].Set(300) local p = closest() if p then local r = p.Character.HumanoidRootPart cam.CFrame = CFrame.new(r.Position + Vector3.new(0, 3, -13), r.Position) end task.wait(0.4) p = closest() local cf, sz = p.Character:GetBoundingBox() local hp = cam:WorldToScreenPoint(cf.Position + Vector3.yAxis * (sz.Y / 2)) local fp = cam:WorldToScreenPoint(cf.Position - Vector3.yAxis * (sz.Y / 2)) local wp = cam:WorldToScreenPoint(cf.Position + cam.CFrame.RightVector * (math.max(sz.X, sz.Z) * 0.5)) local expH = math.abs(fp.Y - hp.Y) local expW = math.abs(wp.X - (hp.X + fp.X) / 2) * 2 local drawn = {} for _, v in ipairs(holder:GetChildren()) do if v.Visible and (v.Name == "LeftTop" or v.Name == "LeftSide") then table.insert(drawn, string.format("%s %dx%d @%d,%d", v.Name, v.Size.X.Offset, v.Size.Y.Offset, v.Position.X.Offset, v.Position.Y.Offset)) end end print("target:", p.Name, "dist:", math.floor((r.Position - cam.CFrame.Position).Magnitude)) print("expected box: w=" .. math.floor(expW) .. " h=" .. math.floor(expH)) print("drawn: " .. table.concat(drawn, " | ")) print("players on screen:", #drawn / 2)