local frag = getgenv().fragESP local cam = workspace.CurrentCamera local target for _,p in ipairs(game.Players:GetChildren()) do if p ~= game.Players.LocalPlayer and p.Character and p.Character:FindFirstChild("HumanoidRootPart") then target = p.Character.HumanoidRootPart end end if not target then print("no target") return end cam.CFrame = CFrame.new(target.Position + Vector3.new(0, 6, -18), target.Position) local cg = cloneref(game:GetService("CoreGui")) local holder for _,g in ipairs(cg:GetChildren()) do if g.Name == "ESPHolder" then holder = g end end local function bars(tag) task.wait(0.2) local w, n = {}, 0 for _,v in ipairs(holder:GetChildren()) do if v:IsA("Frame") and v.Name == "Frame" and v.Visible then n += 1 if v:GetAttribute("hb") then end table.insert(w, math.floor(v.Size.X.Offset)) end end table.sort(w) print(tag, "visible bar frames:", n, "widths:", table.concat(w, ",")) end for _,bw in ipairs({1, 2, 4, 6}) do frag.config.barwidth = bw; frag.ui.refresh(); bars("barwidth " .. bw .. " ->") end frag.config.healthbar = false; bars("off ->") frag.config.healthbar = true; frag.config.barwidth = 2; frag.ui.refresh()