local Players = game:GetService("Players") local items = workspace:WaitForChild("Items") local playerGui = Players.LocalPlayer:WaitForChild("PlayerGui") local screenGui = Instance.new("ScreenGui") screenGui.Name = "ItemListUI" screenGui.IgnoreGuiInset = true screenGui.Parent = playerGui local listFrame = Instance.new("Frame") listFrame.Size = UDim2.new(0, 200, 0, 0) listFrame.Position = UDim2.new(1, -210, 0, 20) listFrame.BackgroundTransparency = 1 listFrame.Parent = screenGui local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0, 2) layout.SortOrder = Enum.SortOrder.Name layout.Parent = listFrame layout:GetPropertyChangedSignal("AbsoluteContentSize"):Connect(function() listFrame.Size = UDim2.new(0, 200, 0, layout.AbsoluteContentSize.Y) end) local function addToSidebar(obj) local label = Instance.new("TextLabel") label.Name = obj.Name .. obj:GetDebugId() label.Size = UDim2.new(1, 0, 0, 22) label.BackgroundTransparency = 0.6 label.BackgroundColor3 = Color3.fromRGB(30, 30, 30) label.TextColor3 = Color3.new(1, 1, 1) label.Text = " " .. obj.Name label.Font = Enum.Font.GothamMedium label.TextSize = 14 label.TextXAlignment = Enum.TextXAlignment.Left label.Parent = listFrame obj.AncestryChanged:Connect(function() if not obj:IsDescendantOf(workspace) then label:Destroy() end end) end local function createEsp(obj) if not (obj:IsA("Model") or obj:IsA("BasePart")) then return end if not obj.Parent:IsA("Folder") then return end if obj:FindFirstChild("ESP_Group") then return end local adornPart = obj:IsA("Model") and (obj.PrimaryPart or obj:FindFirstChildWhichIsA("BasePart")) or obj if not adornPart then return end local hl = Instance.new("Highlight") hl.Name = "ESP_Group" hl.FillTransparency = 1 hl.OutlineColor = Color3.new(1, 1, 1) hl.Adornee = obj hl.Parent = obj local bgui = Instance.new("BillboardGui") bgui.Name = "NameTag" bgui.Adornee = adornPart bgui.Size = UDim2.new(0, 200, 0, 50) bgui.StudsOffset = Vector3.new(0, 2, 0) bgui.AlwaysOnTop = true bgui.Parent = obj local tl = Instance.new("TextLabel") tl.BackgroundTransparency = 1 tl.Size = UDim2.new(1, 0, 1, 0) tl.Text = obj.Name tl.TextColor3 = Color3.new(1, 1, 1) tl.TextStrokeTransparency = 0.5 tl.TextScaled = true tl.Font = Enum.Font.GothamBold tl.Parent = bgui addToSidebar(obj) end for _, folder in ipairs(items:GetChildren()) do if folder:IsA("Folder") then for _, child in ipairs(folder:GetChildren()) do task.spawn(createEsp, child) end folder.ChildAdded:Connect(createEsp) end end