-- ============================ -- DZINDRAS MENU GUI -- + PREMIUM GUI s bocnim menu -- ============================ -- Executor script local Players = game:GetService("Players") local TeleportService = game:GetService("TeleportService") local HttpService = game:GetService("HttpService") local player = Players.LocalPlayer local character = player.Character if not character then character = player.CharacterAdded:Wait() end local rootPart = character:FindFirstChild("HumanoidRootPart") or character:WaitForChild("HumanoidRootPart", 10) player.CharacterAdded:Connect(function(c) character = c rootPart = c:WaitForChild("HumanoidRootPart") end) -- ============ FUNCTIONS ============ local function rejoin() local ok, err = pcall(function() TeleportService:Teleport(game.PlaceId, player) end) if not ok then warn("[HUB] Rejoin failed: "..tostring(err)) end end local function joinSmallServer() local placeId = game.PlaceId local cursor, smallestServer, smallestCount = "", nil, math.huge repeat local ok, result = pcall(function() return HttpService:JSONDecode(game:HttpGet( "https://games.roblox.com/v1/games/"..placeId.."/servers/Public?sortOrder=Asc&limit=100&cursor="..cursor)) end) if not ok then break end for _, s in ipairs(result.data or {}) do if s.playing < smallestCount and s.id ~= game.JobId then smallestCount = s.playing; smallestServer = s.id end end cursor = result.nextPageCursor or "" until cursor == "" or cursor == nil if smallestServer then TeleportService:TeleportToPlaceInstance(placeId, smallestServer, player) else warn("[HUB] No small server found.") end end local function joinBigServer() local placeId = game.PlaceId local biggestServer, biggestCount = nil, 0 local ok, result = pcall(function() return HttpService:JSONDecode(game:HttpGet( "https://games.roblox.com/v1/games/"..placeId.."/servers/Public?sortOrder=Desc&limit=100")) end) if ok then for _, s in ipairs(result.data or {}) do if s.playing > biggestCount and s.id ~= game.JobId then biggestCount = s.playing; biggestServer = s.id end end end if biggestServer then TeleportService:TeleportToPlaceInstance(placeId, biggestServer, player) else warn("[HUB] No big server found.") end end local function teleportToName(name) local target = workspace:FindFirstChild(name, true) if not target then return false, "'"..name.."' not found!" end local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) elseif target.Parent and target.Parent:IsA("BasePart") then pos = target.Parent.Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos); return true, "Teleported!" end return false, "Can't get position." end local function teleportToAny(names) for _, name in ipairs(names) do local ok, msg = teleportToName(name) if ok then return true, msg end end return false, "Location not found!" end -- ============ REMOVE OLD GUIs ============ for _, name in ipairs({"DzindrasMenu", "DzindrasPremium"}) do local old = player.PlayerGui:FindFirstChild(name) if old then old:Destroy() end end -- ============ MAIN GUI ============ local sg = Instance.new("ScreenGui") sg.Name = "DzindrasMenu"; sg.ResetOnSpawn = false sg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling sg.Parent = player.PlayerGui local main = Instance.new("Frame") main.Size = UDim2.new(0,300,0,560); main.Position = UDim2.new(0,24,0,24) main.BackgroundColor3 = Color3.fromRGB(14,14,20); main.BorderSizePixel = 0 main.Active = true; main.Draggable = true; main.ClipsDescendants = true main.Parent = sg Instance.new("UICorner", main).CornerRadius = UDim.new(0,14) local topBar = Instance.new("Frame") topBar.Size = UDim2.new(1,0,0,46); topBar.BackgroundColor3 = Color3.fromRGB(22,22,32) topBar.BorderSizePixel = 0; topBar.Parent = main Instance.new("UICorner", topBar).CornerRadius = UDim.new(0,14) local topFix = Instance.new("Frame") topFix.Size = UDim2.new(1,0,0,14); topFix.Position = UDim2.new(0,0,1,-14) topFix.BackgroundColor3 = Color3.fromRGB(22,22,32); topFix.BorderSizePixel = 0; topFix.Parent = topBar local titleLbl = Instance.new("TextLabel") titleLbl.Size = UDim2.new(1,-90,1,0); titleLbl.Position = UDim2.new(0,14,0,0) titleLbl.BackgroundTransparency = 1; titleLbl.Text = "⚡ DZINDRAS MENU" titleLbl.TextColor3 = Color3.fromRGB(255,255,255); titleLbl.TextSize = 15 titleLbl.Font = Enum.Font.GothamBold; titleLbl.TextXAlignment = Enum.TextXAlignment.Left titleLbl.Parent = topBar local minBtn = Instance.new("TextButton") minBtn.Size = UDim2.new(0,28,0,28); minBtn.Position = UDim2.new(1,-66,0,9) minBtn.BackgroundColor3 = Color3.fromRGB(60,60,80); minBtn.Text = "−" minBtn.TextColor3 = Color3.fromRGB(200,200,220); minBtn.TextSize = 16 minBtn.Font = Enum.Font.GothamBold; minBtn.BorderSizePixel = 0; minBtn.Parent = topBar Instance.new("UICorner", minBtn).CornerRadius = UDim.new(0,6) local closeBtn = Instance.new("TextButton") closeBtn.Size = UDim2.new(0,28,0,28); closeBtn.Position = UDim2.new(1,-34,0,9) closeBtn.BackgroundColor3 = Color3.fromRGB(200,50,50); closeBtn.Text = "✕" closeBtn.TextColor3 = Color3.fromRGB(255,255,255); closeBtn.TextSize = 13 closeBtn.Font = Enum.Font.GothamBold; closeBtn.BorderSizePixel = 0; closeBtn.Parent = topBar Instance.new("UICorner", closeBtn).CornerRadius = UDim.new(0,6) closeBtn.MouseButton1Click:Connect(function() sg:Destroy() end) local content = Instance.new("ScrollingFrame") content.Size = UDim2.new(1,0,1,-100); content.Position = UDim2.new(0,0,0,46) content.BackgroundTransparency = 1; content.BorderSizePixel = 0 content.ScrollBarThickness = 3; content.ScrollBarImageColor3 = Color3.fromRGB(80,80,120) content.CanvasSize = UDim2.new(0,0,0,0); content.AutomaticCanvasSize = Enum.AutomaticSize.Y content.Parent = main local layout = Instance.new("UIListLayout") layout.Padding = UDim.new(0,0); layout.SortOrder = Enum.SortOrder.LayoutOrder; layout.Parent = content local padding = Instance.new("UIPadding") padding.PaddingLeft = UDim.new(0,12); padding.PaddingRight = UDim.new(0,12) padding.PaddingTop = UDim.new(0,10); padding.PaddingBottom = UDim.new(0,10) padding.Parent = content -- helpers local function sectionLabel(text, order) local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1,0,0,30); lbl.BackgroundTransparency = 1; lbl.Text = text lbl.TextColor3 = Color3.fromRGB(160,160,200); lbl.TextSize = 11; lbl.Font = Enum.Font.GothamBold lbl.TextXAlignment = Enum.TextXAlignment.Left; lbl.LayoutOrder = order; lbl.Parent = content return lbl end local function statusLabel(order) local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1,0,0,20); lbl.BackgroundTransparency = 1; lbl.Text = "Status: Ready" lbl.TextColor3 = Color3.fromRGB(100,220,130); lbl.TextSize = 11; lbl.Font = Enum.Font.Gotham lbl.TextXAlignment = Enum.TextXAlignment.Left; lbl.LayoutOrder = order; lbl.Parent = content return lbl end local function makeBtn(text, color, order) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,40); btn.BackgroundColor3 = color; btn.Text = text btn.TextColor3 = Color3.fromRGB(255,255,255); btn.TextSize = 13; btn.Font = Enum.Font.GothamBold btn.BorderSizePixel = 0; btn.LayoutOrder = order; btn.AutoButtonColor = false; btn.Parent = content Instance.new("UICorner", btn).CornerRadius = UDim.new(0,8) local gap = Instance.new("Frame") gap.Size = UDim2.new(1,0,0,6); gap.BackgroundTransparency = 1; gap.LayoutOrder = order+1; gap.Parent = content btn.MouseEnter:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(math.min(color.R*255+20,255),math.min(color.G*255+20,255),math.min(color.B*255+20,255)) end) btn.MouseLeave:Connect(function() btn.BackgroundColor3 = color end) return btn end local function makeDivider(order) local d = Instance.new("Frame") d.Size = UDim2.new(1,0,0,1); d.BackgroundColor3 = Color3.fromRGB(40,40,60) d.BorderSizePixel = 0; d.LayoutOrder = order; d.Parent = content local gap = Instance.new("Frame") gap.Size = UDim2.new(1,0,0,8); gap.BackgroundTransparency = 1; gap.LayoutOrder = order+1; gap.Parent = content end -- SERVER sectionLabel("🌐 SERVER", 1) local serverStatus = statusLabel(2) local rejoinBtn = makeBtn("↩ Rejoin", Color3.fromRGB(60,80,180), 3) rejoinBtn.MouseButton1Click:Connect(function() serverStatus.Text = "Status: Rejoining..."; serverStatus.TextColor3 = Color3.fromRGB(255,220,80); rejoin() end) local smallBtn = makeBtn("🔵 Join Small Server", Color3.fromRGB(40,120,160), 5) smallBtn.MouseButton1Click:Connect(function() serverStatus.Text = "Status: Finding small server..."; serverStatus.TextColor3 = Color3.fromRGB(255,220,80) task.spawn(joinSmallServer) end) local bigBtn = makeBtn("🔴 Join Big Server", Color3.fromRGB(160,60,40), 7) bigBtn.MouseButton1Click:Connect(function() serverStatus.Text = "Status: Finding big server..."; serverStatus.TextColor3 = Color3.fromRGB(255,220,80) task.spawn(joinBigServer) end) makeDivider(9) -- TELEPORTS sectionLabel("📍 TELEPORTS", 10) local tpStatus = statusLabel(11) tpStatus.Text = "Status: Ready"; tpStatus.TextColor3 = Color3.fromRGB(100,220,130) local bankBtn = makeBtn("🏦 Bank", Color3.fromRGB(180,140,20), 12) bankBtn.MouseButton1Click:Connect(function() tpStatus.Text = "Status: Teleporting..."; tpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"Bank","bank","BANK","BankBuilding","Bank_Interior","TheBank"}) tpStatus.Text = "Status: "..msg; tpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local bankCashBtn = makeBtn("💰 BankCash", Color3.fromRGB(140,160,20), 14) bankCashBtn.MouseButton1Click:Connect(function() tpStatus.Text = "Status: Teleporting..."; tpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"BankCash","Bank_Cash","bankcash","CashRegister","BankVault","Vault"}) tpStatus.Text = "Status: "..msg; tpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local jwBtn = makeBtn("💎 Jewelry Store", Color3.fromRGB(140,60,180), 16) jwBtn.MouseButton1Click:Connect(function() tpStatus.Text = "Status: Teleporting..."; tpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"JewelryStore","JewleryStore","Jewelry","Jewlery","JewelryShop","DiamondStore"}) tpStatus.Text = "Status: "..msg; tpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local milBtn = makeBtn("🪖 Military Gate", Color3.fromRGB(60,120,50), 18) milBtn.MouseButton1Click:Connect(function() tpStatus.Text = "Status: Teleporting..."; tpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"MilitaryGate","Military_Gate","MilGate","Gate","MilitaryBase","ArmyGate","Military"}) tpStatus.Text = "Status: "..msg; tpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) makeDivider(20) -- CUSTOM TELEPORT sectionLabel("🔍 CUSTOM TELEPORT", 21) local customStatus = statusLabel(22) customStatus.Text = "Status: Ready"; customStatus.TextColor3 = Color3.fromRGB(100,220,130) local customRow = Instance.new("Frame") customRow.Size = UDim2.new(1,0,0,36); customRow.BackgroundTransparency = 1; customRow.LayoutOrder = 23; customRow.Parent = content local customLbl = Instance.new("TextLabel") customLbl.Size = UDim2.new(0.42,0,1,0); customLbl.BackgroundTransparency = 1; customLbl.Text = "Object name:" customLbl.TextColor3 = Color3.fromRGB(140,140,180); customLbl.TextSize = 11; customLbl.Font = Enum.Font.Gotham customLbl.TextXAlignment = Enum.TextXAlignment.Left; customLbl.Parent = customRow local customInput = Instance.new("TextBox") customInput.Size = UDim2.new(0.55,0,0,26); customInput.Position = UDim2.new(0.45,0,0.5,-13) customInput.BackgroundColor3 = Color3.fromRGB(30,30,44); customInput.PlaceholderText = "e.g. SpawnLocation" customInput.PlaceholderColor3 = Color3.fromRGB(80,80,100); customInput.Text = "" customInput.TextColor3 = Color3.fromRGB(220,220,255); customInput.TextSize = 12; customInput.Font = Enum.Font.Gotham customInput.BorderSizePixel = 0; customInput.Parent = customRow Instance.new("UICorner", customInput).CornerRadius = UDim.new(0,6) local customGap = Instance.new("Frame") customGap.Size = UDim2.new(1,0,0,6); customGap.BackgroundTransparency = 1; customGap.LayoutOrder = 24; customGap.Parent = content local customTpBtn = makeBtn("📍 Teleport to Custom Name", Color3.fromRGB(80,80,160), 25) customTpBtn.MouseButton1Click:Connect(function() local name = customInput.Text if name == "" then customStatus.Text = "Status: Enter a name first!"; customStatus.TextColor3 = Color3.fromRGB(220,80,80); return end customStatus.Text = "Status: Searching..."; customStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToName(name) customStatus.Text = "Status: "..msg; customStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) -- ============ PREMIUM BUTTON (dole) ============ local premiumBar = Instance.new("Frame") premiumBar.Size = UDim2.new(1,0,0,48); premiumBar.Position = UDim2.new(0,0,1,-48) premiumBar.BackgroundColor3 = Color3.fromRGB(14,14,20); premiumBar.BorderSizePixel = 0 premiumBar.Parent = main local premiumBtn = Instance.new("TextButton") premiumBtn.Size = UDim2.new(1,-24,0,36); premiumBtn.Position = UDim2.new(0,12,0,6) premiumBtn.BackgroundColor3 = Color3.fromRGB(120,60,220) premiumBtn.Text = "⭐ PREMIUM (FREE)" premiumBtn.TextColor3 = Color3.fromRGB(255,255,255); premiumBtn.TextSize = 14 premiumBtn.Font = Enum.Font.GothamBold; premiumBtn.BorderSizePixel = 0 premiumBtn.AutoButtonColor = false; premiumBtn.Parent = premiumBar Instance.new("UICorner", premiumBtn).CornerRadius = UDim.new(0,8) local stroke = Instance.new("UIStroke") stroke.Color = Color3.fromRGB(160,80,255); stroke.Thickness = 1.5; stroke.Parent = premiumBtn premiumBtn.MouseEnter:Connect(function() premiumBtn.BackgroundColor3 = Color3.fromRGB(140,80,240) end) premiumBtn.MouseLeave:Connect(function() premiumBtn.BackgroundColor3 = Color3.fromRGB(120,60,220) end) -- MINIMIZE local isMinimized = false minBtn.MouseButton1Click:Connect(function() isMinimized = not isMinimized content.Visible = not isMinimized premiumBar.Visible = not isMinimized if isMinimized then main.Size = UDim2.new(0,300,0,46); minBtn.Text = "+" else main.Size = UDim2.new(0,300,0,560); minBtn.Text = "−" end end) -- ============ PREMIUM GUI ============ local function openPremiumGui() local old = player.PlayerGui:FindFirstChild("DzindrasPremium") if old then old:Destroy() end local psg = Instance.new("ScreenGui") psg.Name = "DzindrasPremium"; psg.ResetOnSpawn = false psg.ZIndexBehavior = Enum.ZIndexBehavior.Sibling psg.Parent = player.PlayerGui -- Okno local win = Instance.new("Frame") win.Size = UDim2.new(0,520,0,360); win.Position = UDim2.new(0.5,-260,0.5,-180) win.BackgroundColor3 = Color3.fromRGB(10,10,14); win.BorderSizePixel = 0 win.Active = true; win.Draggable = true; win.ClipsDescendants = true win.Parent = psg Instance.new("UICorner", win).CornerRadius = UDim.new(0,10) -- Top bar local pTop = Instance.new("Frame") pTop.Size = UDim2.new(1,0,0,40); pTop.BackgroundColor3 = Color3.fromRGB(12,12,18) pTop.BorderSizePixel = 0; pTop.Parent = win Instance.new("UICorner", pTop).CornerRadius = UDim.new(0,10) local pTopFix = Instance.new("Frame") pTopFix.Size = UDim2.new(1,0,0,10); pTopFix.Position = UDim2.new(0,0,1,-10) pTopFix.BackgroundColor3 = Color3.fromRGB(12,12,18); pTopFix.BorderSizePixel = 0; pTopFix.Parent = pTop -- Accent line pod topbarem local accent = Instance.new("Frame") accent.Size = UDim2.new(1,0,0,2); accent.Position = UDim2.new(0,0,0,40) accent.BackgroundColor3 = Color3.fromRGB(100,60,200); accent.BorderSizePixel = 0; accent.Parent = win -- Title local pTitle = Instance.new("TextLabel") pTitle.Size = UDim2.new(0,200,1,0); pTitle.Position = UDim2.new(0,14,0,0) pTitle.BackgroundTransparency = 1 pTitle.RichText = true pTitle.Text = 'DZINDRAS MENU PREMIUM (FREE)' pTitle.TextSize = 14; pTitle.Font = Enum.Font.GothamBold pTitle.TextXAlignment = Enum.TextXAlignment.Left; pTitle.Parent = pTop -- Close local pClose = Instance.new("TextButton") pClose.Size = UDim2.new(0,26,0,26); pClose.Position = UDim2.new(1,-34,0,7) pClose.BackgroundColor3 = Color3.fromRGB(30,30,44); pClose.Text = "✕" pClose.TextColor3 = Color3.fromRGB(200,200,220); pClose.TextSize = 12 pClose.Font = Enum.Font.GothamBold; pClose.BorderSizePixel = 0; pClose.Parent = pTop Instance.new("UICorner", pClose).CornerRadius = UDim.new(0,6) pClose.MouseButton1Click:Connect(function() psg:Destroy() end) -- Min local pMin = Instance.new("TextButton") pMin.Size = UDim2.new(0,26,0,26); pMin.Position = UDim2.new(1,-66,0,7) pMin.BackgroundColor3 = Color3.fromRGB(30,30,44); pMin.Text = "−" pMin.TextColor3 = Color3.fromRGB(200,200,220); pMin.TextSize = 14 pMin.Font = Enum.Font.GothamBold; pMin.BorderSizePixel = 0; pMin.Parent = pTop Instance.new("UICorner", pMin).CornerRadius = UDim.new(0,6) local pMinimized = false local pContent -- defined below pMin.MouseButton1Click:Connect(function() pMinimized = not pMinimized if pMinimized then win.Size = UDim2.new(0,520,0,42); pMin.Text = "+" else win.Size = UDim2.new(0,520,0,360); pMin.Text = "−" end if pContent then pContent.Visible = not pMinimized end accent.Visible = not pMinimized end) -- Sidebar local sidebar = Instance.new("Frame") sidebar.Size = UDim2.new(0,130,1,-42); sidebar.Position = UDim2.new(0,0,0,42) sidebar.BackgroundColor3 = Color3.fromRGB(12,12,18); sidebar.BorderSizePixel = 0; sidebar.Parent = win local sideLayout = Instance.new("UIListLayout") sideLayout.Padding = UDim.new(0,2); sideLayout.SortOrder = Enum.SortOrder.LayoutOrder; sideLayout.Parent = sidebar local sidePad = Instance.new("UIPadding") sidePad.PaddingTop = UDim.new(0,8); sidePad.PaddingLeft = UDim.new(0,8); sidePad.PaddingRight = UDim.new(0,8) sidePad.Parent = sidebar -- Content area local cArea = Instance.new("Frame") cArea.Size = UDim2.new(1,-130,1,-42); cArea.Position = UDim2.new(0,130,0,42) cArea.BackgroundColor3 = Color3.fromRGB(16,16,22); cArea.BorderSizePixel = 0; cArea.Parent = win pContent = cArea -- Pages container local pages = {} local activePage = nil local activeTabBtn = nil local function makePage() local page = Instance.new("ScrollingFrame") page.Size = UDim2.new(1,0,1,0) page.BackgroundTransparency = 1; page.BorderSizePixel = 0 page.ScrollBarThickness = 3; page.ScrollBarImageColor3 = Color3.fromRGB(80,80,120) page.CanvasSize = UDim2.new(0,0,0,0); page.AutomaticCanvasSize = Enum.AutomaticSize.Y page.Visible = false; page.Parent = cArea local pl = Instance.new("UIListLayout") pl.Padding = UDim.new(0,6); pl.SortOrder = Enum.SortOrder.LayoutOrder; pl.Parent = page local pp = Instance.new("UIPadding") pp.PaddingLeft = UDim.new(0,12); pp.PaddingRight = UDim.new(0,12) pp.PaddingTop = UDim.new(0,10); pp.PaddingBottom = UDim.new(0,10) pp.Parent = page return page end local function makeTabBtn(label, order) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,34); btn.BackgroundColor3 = Color3.fromRGB(20,20,30) btn.Text = label; btn.TextColor3 = Color3.fromRGB(160,160,190) btn.TextSize = 12; btn.Font = Enum.Font.GothamBold btn.BorderSizePixel = 0; btn.AutoButtonColor = false; btn.LayoutOrder = order btn.TextXAlignment = Enum.TextXAlignment.Left btn.Parent = sidebar Instance.new("UICorner", btn).CornerRadius = UDim.new(0,6) local lpad = Instance.new("UIPadding"); lpad.PaddingLeft = UDim.new(0,10); lpad.Parent = btn return btn end local function pStatus(page, txt) local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1,0,0,20); lbl.BackgroundTransparency = 1 lbl.Text = txt or "Status: Ready"; lbl.TextColor3 = Color3.fromRGB(100,220,130) lbl.TextSize = 11; lbl.Font = Enum.Font.Gotham lbl.TextXAlignment = Enum.TextXAlignment.Left; lbl.Parent = page return lbl end local function pBtn(page, text, color) local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,38); btn.BackgroundColor3 = color; btn.Text = text btn.TextColor3 = Color3.fromRGB(255,255,255); btn.TextSize = 13; btn.Font = Enum.Font.GothamBold btn.BorderSizePixel = 0; btn.AutoButtonColor = false; btn.Parent = page Instance.new("UICorner", btn).CornerRadius = UDim.new(0,7) btn.MouseEnter:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(math.min(color.R*255+20,255),math.min(color.G*255+20,255),math.min(color.B*255+20,255)) end) btn.MouseLeave:Connect(function() btn.BackgroundColor3 = color end) return btn end local function showPage(page, tabBtn) if activePage then activePage.Visible = false end if activeTabBtn then activeTabBtn.BackgroundColor3 = Color3.fromRGB(20,20,30) activeTabBtn.TextColor3 = Color3.fromRGB(160,160,190) end page.Visible = true tabBtn.BackgroundColor3 = Color3.fromRGB(50,25,100) tabBtn.TextColor3 = Color3.fromRGB(255,255,255) activePage = page activeTabBtn = tabBtn end -- PAGE: TELEPORT local tpPage = makePage() local tpTab = makeTabBtn("📍 TELEPORT", 1) local pTpStatus = pStatus(tpPage) local b1 = pBtn(tpPage, "🏦 Bank", Color3.fromRGB(180,140,20)) b1.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"Bank","bank","BANK","BankBuilding","Bank_Interior","TheBank"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b2 = pBtn(tpPage, "💰 BankCash", Color3.fromRGB(140,160,20)) b2.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"BankCash","Bank_Cash","bankcash","CashRegister","BankVault","Vault"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b3 = pBtn(tpPage, "💎 Jewelry Store", Color3.fromRGB(140,60,180)) b3.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"JewelryStore","JewleryStore","Jewelry","Jewlery","JewelryShop","DiamondStore"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b4 = pBtn(tpPage, "🪖 Military Gate", Color3.fromRGB(60,120,50)) b4.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"MilitaryGate","Military_Gate","MilGate","Gate","MilitaryBase","ArmyGate","Military"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) -- custom input local cinRow = Instance.new("Frame") cinRow.Size = UDim2.new(1,0,0,34); cinRow.BackgroundTransparency = 1; cinRow.Parent = tpPage local cinLbl = Instance.new("TextLabel") cinLbl.Size = UDim2.new(0.42,0,1,0); cinLbl.BackgroundTransparency = 1; cinLbl.Text = "Custom:" cinLbl.TextColor3 = Color3.fromRGB(140,140,180); cinLbl.TextSize = 11; cinLbl.Font = Enum.Font.Gotham cinLbl.TextXAlignment = Enum.TextXAlignment.Left; cinLbl.Parent = cinRow local cinInput = Instance.new("TextBox") cinInput.Size = UDim2.new(0.55,0,0,26); cinInput.Position = UDim2.new(0.45,0,0.5,-13) cinInput.BackgroundColor3 = Color3.fromRGB(22,22,32); cinInput.PlaceholderText = "Object name..." cinInput.PlaceholderColor3 = Color3.fromRGB(70,70,90); cinInput.Text = "" cinInput.TextColor3 = Color3.fromRGB(220,220,255); cinInput.TextSize = 12; cinInput.Font = Enum.Font.Gotham cinInput.BorderSizePixel = 0; cinInput.Parent = cinRow Instance.new("UICorner", cinInput).CornerRadius = UDim.new(0,6) local b6 = pBtn(tpPage, "🔫 Armory 1", Color3.fromRGB(80,100,140)) b6.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"armory1","Armory1","ARMORY1","Armory_1","Armory 1"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b7 = pBtn(tpPage, "🔫 Armory 2", Color3.fromRGB(80,100,140)) b7.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"armory2","Armory2","ARMORY2","Armory_2","Armory 2"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b9 = pBtn(tpPage, "🖤 Black Market", Color3.fromRGB(40,20,60)) b9.MouseButton1Click:Connect(function() pTpStatus.Text = "Status: Teleporting..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny({"Black Market House","BlackMarketHouse","BlackMarket","Black_Market","BlackMarket_House","Black Market"}) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) local b5 = pBtn(tpPage, "📍 Teleport to Custom Name", Color3.fromRGB(80,80,160)) b5.MouseButton1Click:Connect(function() local name = cinInput.Text if name == "" then pTpStatus.Text = "Status: Enter name!"; pTpStatus.TextColor3 = Color3.fromRGB(220,80,80); return end pTpStatus.Text = "Status: Searching..."; pTpStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToName(name) pTpStatus.Text = "Status: "..msg; pTpStatus.TextColor3 = ok and Color3.fromRGB(80,220,120) or Color3.fromRGB(220,80,80) end) tpTab.MouseButton1Click:Connect(function() showPage(tpPage, tpTab) end) -- PAGE: MISC local miscPage = makePage() local miscTab = makeTabBtn("⚙️ MISC", 2) local pMiscStatus = pStatus(miscPage) local m1 = pBtn(miscPage, "↩ Rejoin", Color3.fromRGB(60,80,180)) m1.MouseButton1Click:Connect(function() pMiscStatus.Text = "Status: Rejoining..."; pMiscStatus.TextColor3 = Color3.fromRGB(255,220,80); rejoin() end) local m2 = pBtn(miscPage, "🔵 Join Small Server", Color3.fromRGB(40,120,160)) m2.MouseButton1Click:Connect(function() pMiscStatus.Text = "Status: Finding..."; pMiscStatus.TextColor3 = Color3.fromRGB(255,220,80) task.spawn(joinSmallServer) end) local m3 = pBtn(miscPage, "🔴 Join Big Server", Color3.fromRGB(160,60,40)) m3.MouseButton1Click:Connect(function() pMiscStatus.Text = "Status: Finding..."; pMiscStatus.TextColor3 = Color3.fromRGB(255,220,80) task.spawn(joinBigServer) end) miscTab.MouseButton1Click:Connect(function() showPage(miscPage, miscTab) end) -- PAGE: ESP local espPage = makePage() local espTab = makeTabBtn("👁️ ESP", 4) local pEspStatus = pStatus(espPage) pEspStatus.Text = "Status: Ready" -- ESP local function makeSubToggle(labelText, default, callback) local row = Instance.new("Frame") row.Size = UDim2.new(1,0,0,34); row.BackgroundColor3 = Color3.fromRGB(18,18,28) row.BorderSizePixel = 0; row.Parent = espPage Instance.new("UICorner", row).CornerRadius = UDim.new(0,8) local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1,-60,1,0); lbl.Position = UDim2.new(0,20,0,0) lbl.BackgroundTransparency = 1; lbl.Text = labelText lbl.TextColor3 = Color3.fromRGB(180,180,220); lbl.TextSize = 12 lbl.Font = Enum.Font.Gotham; lbl.TextXAlignment = Enum.TextXAlignment.Left; lbl.Parent = row local bg = Instance.new("Frame") bg.Size = UDim2.new(0,38,0,20); bg.Position = UDim2.new(1,-46,0.5,-10) bg.BackgroundColor3 = default and Color3.fromRGB(80,160,90) or Color3.fromRGB(50,50,70) bg.BorderSizePixel = 0; bg.Parent = row Instance.new("UICorner", bg).CornerRadius = UDim.new(0,10) local knob = Instance.new("Frame") knob.Size = UDim2.new(0,16,0,16) knob.Position = default and UDim2.new(0,20,0,2) or UDim2.new(0,2,0,2) knob.BackgroundColor3 = Color3.fromRGB(255,255,255); knob.BorderSizePixel = 0; knob.Parent = bg Instance.new("UICorner", knob).CornerRadius = UDim.new(0,8) local enabled = default bg.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then enabled = not enabled bg.BackgroundColor3 = enabled and Color3.fromRGB(80,160,90) or Color3.fromRGB(50,50,70) knob.Position = enabled and UDim2.new(0,20,0,2) or UDim2.new(0,2,0,2) callback(enabled) end end) return row end local espActive = false local espConnection = nil local espObjects = {} local function removeESP(plr) if espObjects[plr.Name] then for _, obj in ipairs(espObjects[plr.Name]) do pcall(function() obj:Destroy() end) end espObjects[plr.Name] = nil end end local ESP_MAX_DIST = 500 local function createESP(plr) if plr == player then return end local char = plr.Character if not char then return end local hrp = char:FindFirstChild("HumanoidRootPart") local hum = char:FindFirstChildOfClass("Humanoid") if not hrp or not hum then return end removeESP(plr) espObjects[plr.Name] = {} local bb = Instance.new("BillboardGui") bb.Size = UDim2.new(0,120,0,70) bb.StudsOffset = Vector3.new(0,3,0) bb.AlwaysOnTop = true bb.MaxDistance = ESP_MAX_DIST bb.Parent = hrp table.insert(espObjects[plr.Name], bb) -- Name local nameLbl = Instance.new("TextLabel") nameLbl.Size = UDim2.new(1,0,0,20) nameLbl.Position = UDim2.new(0,0,0,0) nameLbl.BackgroundTransparency = 1 nameLbl.Text = plr.Name nameLbl.TextColor3 = Color3.fromRGB(255,255,255) nameLbl.TextSize = 13 nameLbl.Font = Enum.Font.GothamBold nameLbl.TextStrokeTransparency = 0 nameLbl.TextStrokeColor3 = Color3.fromRGB(0,0,0) nameLbl.Parent = bb -- Distance local distLbl = Instance.new("TextLabel") distLbl.Size = UDim2.new(1,0,0,16) distLbl.Position = UDim2.new(0,0,0,20) distLbl.BackgroundTransparency = 1 distLbl.Text = "0m" distLbl.TextColor3 = Color3.fromRGB(180,220,255) distLbl.TextSize = 11 distLbl.Font = Enum.Font.Gotham distLbl.TextStrokeTransparency = 0 distLbl.TextStrokeColor3 = Color3.fromRGB(0,0,0) distLbl.Parent = bb -- HP bar background local hpBg = Instance.new("Frame") hpBg.Size = UDim2.new(1,0,0,8) hpBg.Position = UDim2.new(0,0,0,38) hpBg.BackgroundColor3 = Color3.fromRGB(40,0,0) hpBg.BorderSizePixel = 0 hpBg.Parent = bb Instance.new("UICorner", hpBg).CornerRadius = UDim.new(0,4) -- HP bar fill local hpFill = Instance.new("Frame") hpFill.Size = UDim2.new(hum.Health/math.max(hum.MaxHealth,1),0,1,0) hpFill.BackgroundColor3 = Color3.fromRGB(50,220,80) hpFill.BorderSizePixel = 0 hpFill.Parent = hpBg Instance.new("UICorner", hpFill).CornerRadius = UDim.new(0,4) -- HP text local hpLbl = Instance.new("TextLabel") hpLbl.Size = UDim2.new(1,0,0,14) hpLbl.Position = UDim2.new(0,0,0,48) hpLbl.BackgroundTransparency = 1 hpLbl.Text = math.floor(hum.Health).."/"..math.floor(hum.MaxHealth).." HP" hpLbl.TextColor3 = Color3.fromRGB(100,255,120) hpLbl.TextSize = 10 hpLbl.Font = Enum.Font.Gotham hpLbl.TextStrokeTransparency = 0 hpLbl.TextStrokeColor3 = Color3.fromRGB(0,0,0) hpLbl.Parent = bb -- Box ESP (highlight) local highlight = Instance.new("SelectionBox") highlight.Adornee = char highlight.Color3 = Color3.fromRGB(255,50,50) highlight.LineThickness = 0.04 highlight.SurfaceTransparency = 0.85 highlight.SurfaceColor3 = Color3.fromRGB(255,50,50) highlight.Parent = char table.insert(espObjects[plr.Name], highlight) -- Update loop local updateConn updateConn = game:GetService("RunService").Heartbeat:Connect(function() if not espActive or not char or not char.Parent or not hrp or not hum then updateConn:Disconnect(); removeESP(plr); return end local myHRP = player.Character and player.Character:FindFirstChild("HumanoidRootPart") local dist = myHRP and math.floor((hrp.Position - myHRP.Position).Magnitude) or 0 bb.Enabled = dist <= ESP_MAX_DIST highlight.Visible = dist <= ESP_MAX_DIST distLbl.Text = dist.."m" local hp = hum.Health local maxHp = math.max(hum.MaxHealth,1) local pct = hp/maxHp hpFill.Size = UDim2.new(pct,0,1,0) hpFill.BackgroundColor3 = pct > 0.6 and Color3.fromRGB(50,220,80) or pct > 0.3 and Color3.fromRGB(255,180,0) or Color3.fromRGB(255,50,50) hpLbl.Text = math.floor(hp).."/"..math.floor(maxHp).." HP" end) table.insert(espObjects[plr.Name], updateConn) end local function startESP() espActive = true for _, plr in ipairs(game:GetService("Players"):GetPlayers()) do createESP(plr) end game:GetService("Players").PlayerAdded:Connect(function(plr) plr.CharacterAdded:Connect(function() task.wait(0.5) if espActive then createESP(plr) end end) end) for _, plr in ipairs(game:GetService("Players"):GetPlayers()) do if plr ~= player then plr.CharacterAdded:Connect(function() task.wait(0.5) if espActive then createESP(plr) end end) end end end local function stopESP() espActive = false for name, _ in pairs(espObjects) do local plr = game:GetService("Players"):FindFirstChild(name) if plr then removeESP(plr) end end espObjects = {} end -- MONEY ESP local moneyEspActive = false local moneyEspConnection = nil local moneyBillboards = {} local function startMoneyEsp() moneyEspActive = true moneyEspConnection = game:GetService("RunService").Heartbeat:Connect(function() for _, plr in ipairs(game:GetService("Players"):GetPlayers()) do if plr == player then continue end local char = plr.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") local stats = plr:FindFirstChild("stats") local money = stats and stats:FindFirstChild("Money") if not hrp or not money then if moneyBillboards[plr.Name] then pcall(function() moneyBillboards[plr.Name]:Destroy() end) moneyBillboards[plr.Name] = nil end continue end if not moneyBillboards[plr.Name] or not moneyBillboards[plr.Name].Parent then local bb = Instance.new("BillboardGui") bb.Size = UDim2.new(0,140,0,24) bb.StudsOffset = Vector3.new(0,5.5,0) bb.AlwaysOnTop = true bb.MaxDistance = 200 bb.Parent = hrp local lbl = Instance.new("TextLabel") lbl.Size = UDim2.new(1,0,1,0) lbl.BackgroundTransparency = 1 lbl.Text = "💰 $"..tostring(money.Value) lbl.TextColor3 = Color3.fromRGB(80,220,80) lbl.TextSize = 13 lbl.Font = Enum.Font.GothamBold lbl.TextStrokeTransparency = 0 lbl.TextStrokeColor3 = Color3.fromRGB(0,0,0) lbl.Name = "MoneyLabel" lbl.Parent = bb moneyBillboards[plr.Name] = bb else local lbl = moneyBillboards[plr.Name]:FindFirstChild("MoneyLabel") if lbl then lbl.Text = "💰 $"..tostring(money.Value) end end end end) end local function stopMoneyEsp() moneyEspActive = false if moneyEspConnection then moneyEspConnection:Disconnect(); moneyEspConnection = nil end for _, bb in pairs(moneyBillboards) do pcall(function() bb:Destroy() end) end moneyBillboards = {} end -- Money ESP toggle row local moneyRow = Instance.new("Frame") moneyRow.Size = UDim2.new(1,0,0,40); moneyRow.BackgroundColor3 = Color3.fromRGB(22,22,32) moneyRow.BorderSizePixel = 0; moneyRow.Parent = espPage Instance.new("UICorner", moneyRow).CornerRadius = UDim.new(0,8) local moneyLbl = Instance.new("TextLabel") moneyLbl.Size = UDim2.new(1,-60,1,0); moneyLbl.Position = UDim2.new(0,12,0,0) moneyLbl.BackgroundTransparency = 1; moneyLbl.Text = "💰 Money ESP" moneyLbl.TextColor3 = Color3.fromRGB(220,220,255); moneyLbl.TextSize = 13 moneyLbl.Font = Enum.Font.GothamBold; moneyLbl.TextXAlignment = Enum.TextXAlignment.Left moneyLbl.Parent = moneyRow local moneyToggleBg = Instance.new("Frame") moneyToggleBg.Size = UDim2.new(0,44,0,22); moneyToggleBg.Position = UDim2.new(1,-54,0.5,-11) moneyToggleBg.BackgroundColor3 = Color3.fromRGB(50,50,70); moneyToggleBg.BorderSizePixel = 0 moneyToggleBg.Parent = moneyRow Instance.new("UICorner", moneyToggleBg).CornerRadius = UDim.new(0,11) local moneyKnob = Instance.new("Frame") moneyKnob.Size = UDim2.new(0,18,0,18); moneyKnob.Position = UDim2.new(0,2,0,2) moneyKnob.BackgroundColor3 = Color3.fromRGB(180,180,200); moneyKnob.BorderSizePixel = 0 moneyKnob.Parent = moneyToggleBg Instance.new("UICorner", moneyKnob).CornerRadius = UDim.new(0,9) local moneyEnabled = false moneyToggleBg.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then moneyEnabled = not moneyEnabled if moneyEnabled then moneyToggleBg.BackgroundColor3 = Color3.fromRGB(80,160,90) moneyKnob.Position = UDim2.new(0,24,0,2) moneyKnob.BackgroundColor3 = Color3.fromRGB(255,255,255) startMoneyEsp() pEspStatus.Text = "Status: Money ESP ON" pEspStatus.TextColor3 = Color3.fromRGB(80,220,120) else moneyToggleBg.BackgroundColor3 = Color3.fromRGB(50,50,70) moneyKnob.Position = UDim2.new(0,2,0,2) moneyKnob.BackgroundColor3 = Color3.fromRGB(180,180,200) stopMoneyEsp() pEspStatus.Text = "Status: Money ESP OFF" pEspStatus.TextColor3 = Color3.fromRGB(180,80,80) end end end) -- Money list button local moneyListBtn = Instance.new("TextButton") moneyListBtn.Size = UDim2.new(1,0,0,38); moneyListBtn.BackgroundColor3 = Color3.fromRGB(40,80,40) moneyListBtn.Text = "📋 Show Money List"; moneyListBtn.TextColor3 = Color3.fromRGB(255,255,255) moneyListBtn.TextSize = 13; moneyListBtn.Font = Enum.Font.GothamBold moneyListBtn.BorderSizePixel = 0; moneyListBtn.AutoButtonColor = false; moneyListBtn.Parent = espPage Instance.new("UICorner", moneyListBtn).CornerRadius = UDim.new(0,8) moneyListBtn.MouseEnter:Connect(function() moneyListBtn.BackgroundColor3 = Color3.fromRGB(60,100,60) end) moneyListBtn.MouseLeave:Connect(function() moneyListBtn.BackgroundColor3 = Color3.fromRGB(40,80,40) end) -- Money list frame (scrollable) local moneyListFrame = Instance.new("ScrollingFrame") moneyListFrame.Size = UDim2.new(1,0,0,160); moneyListFrame.BackgroundColor3 = Color3.fromRGB(18,18,26) moneyListFrame.BorderSizePixel = 0; moneyListFrame.ScrollBarThickness = 3 moneyListFrame.ScrollBarImageColor3 = Color3.fromRGB(80,80,120) moneyListFrame.CanvasSize = UDim2.new(0,0,0,0); moneyListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y moneyListFrame.Visible = false; moneyListFrame.Parent = espPage Instance.new("UICorner", moneyListFrame).CornerRadius = UDim.new(0,8) local moneyListLayout = Instance.new("UIListLayout") moneyListLayout.Padding = UDim.new(0,2); moneyListLayout.SortOrder = Enum.SortOrder.LayoutOrder moneyListLayout.Parent = moneyListFrame local moneyListPad = Instance.new("UIPadding") moneyListPad.PaddingLeft = UDim.new(0,8); moneyListPad.PaddingTop = UDim.new(0,6); moneyListPad.Parent = moneyListFrame local moneyListOpen = false moneyListBtn.MouseButton1Click:Connect(function() moneyListOpen = not moneyListOpen moneyListFrame.Visible = moneyListOpen moneyListBtn.Text = moneyListOpen and "📋 Hide Money List" or "📋 Show Money List" if not moneyListOpen then return end -- Clear list for _, c in ipairs(moneyListFrame:GetChildren()) do if c:IsA("TextLabel") then c:Destroy() end end -- Build sorted list local entries = {} for _, plr in ipairs(game:GetService("Players"):GetPlayers()) do local stats = plr:FindFirstChild("stats") local money = stats and stats:FindFirstChild("Money") if money then table.insert(entries, {name = plr.Name, amount = money.Value}) end end table.sort(entries, function(a,b) return a.amount > b.amount end) for i, entry in ipairs(entries) do local row = Instance.new("TextLabel") row.Size = UDim2.new(1,-8,0,22); row.BackgroundTransparency = 1 row.Text = "#"..i.." "..entry.name.." — $"..tostring(entry.amount) row.TextColor3 = i == 1 and Color3.fromRGB(255,215,0) or Color3.fromRGB(200,220,200) row.TextSize = 11; row.Font = Enum.Font.Gotham row.TextXAlignment = Enum.TextXAlignment.Left row.LayoutOrder = i; row.Parent = moneyListFrame end end) -- Refresh + Teleport to player local refreshBtn = Instance.new("TextButton") refreshBtn.Size = UDim2.new(1,0,0,38); refreshBtn.BackgroundColor3 = Color3.fromRGB(40,60,100) refreshBtn.Text = "🔄 Refresh Player List"; refreshBtn.TextColor3 = Color3.fromRGB(255,255,255) refreshBtn.TextSize = 13; refreshBtn.Font = Enum.Font.GothamBold refreshBtn.BorderSizePixel = 0; refreshBtn.AutoButtonColor = false; refreshBtn.Parent = espPage Instance.new("UICorner", refreshBtn).CornerRadius = UDim.new(0,8) refreshBtn.MouseEnter:Connect(function() refreshBtn.BackgroundColor3 = Color3.fromRGB(60,80,130) end) refreshBtn.MouseLeave:Connect(function() refreshBtn.BackgroundColor3 = Color3.fromRGB(40,60,100) end) -- Player list for teleport local playerListFrame = Instance.new("ScrollingFrame") playerListFrame.Size = UDim2.new(1,0,0,160); playerListFrame.BackgroundColor3 = Color3.fromRGB(18,18,26) playerListFrame.BorderSizePixel = 0; playerListFrame.ScrollBarThickness = 3 playerListFrame.ScrollBarImageColor3 = Color3.fromRGB(80,80,120) playerListFrame.CanvasSize = UDim2.new(0,0,0,0); playerListFrame.AutomaticCanvasSize = Enum.AutomaticSize.Y playerListFrame.Parent = espPage Instance.new("UICorner", playerListFrame).CornerRadius = UDim.new(0,8) local playerListLayout = Instance.new("UIListLayout") playerListLayout.Padding = UDim.new(0,3); playerListLayout.SortOrder = Enum.SortOrder.LayoutOrder playerListLayout.Parent = playerListFrame local playerListPad = Instance.new("UIPadding") playerListPad.PaddingLeft = UDim.new(0,6); playerListPad.PaddingRight = UDim.new(0,6) playerListPad.PaddingTop = UDim.new(0,6); playerListPad.Parent = playerListFrame local function buildPlayerList() for _, c in ipairs(playerListFrame:GetChildren()) do if c:IsA("TextButton") or c:IsA("TextLabel") then c:Destroy() end end local plrs = game:GetService("Players"):GetPlayers() if #plrs == 0 then local empty = Instance.new("TextLabel") empty.Size = UDim2.new(1,-8,0,22); empty.BackgroundTransparency = 1 empty.Text = "No players found"; empty.TextColor3 = Color3.fromRGB(150,150,170) empty.TextSize = 11; empty.Font = Enum.Font.Gotham empty.TextXAlignment = Enum.TextXAlignment.Left; empty.Parent = playerListFrame return end for i, plr in ipairs(plrs) do if plr == player then continue end local btn = Instance.new("TextButton") btn.Size = UDim2.new(1,0,0,30); btn.BackgroundColor3 = Color3.fromRGB(28,28,40) btn.Text = "🎯 "..plr.Name; btn.TextColor3 = Color3.fromRGB(220,220,255) btn.TextSize = 12; btn.Font = Enum.Font.GothamBold btn.BorderSizePixel = 0; btn.AutoButtonColor = false btn.TextXAlignment = Enum.TextXAlignment.Left btn.LayoutOrder = i; btn.Parent = playerListFrame Instance.new("UICorner", btn).CornerRadius = UDim.new(0,6) local lpad = Instance.new("UIPadding"); lpad.PaddingLeft = UDim.new(0,8); lpad.Parent = btn btn.MouseEnter:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(60,40,100) end) btn.MouseLeave:Connect(function() btn.BackgroundColor3 = Color3.fromRGB(28,28,40) end) btn.MouseButton1Click:Connect(function() local char = plr.Character local hrp = char and char:FindFirstChild("HumanoidRootPart") if hrp then rootPart.CFrame = hrp.CFrame * CFrame.new(0,0,-3) pEspStatus.Text = "Status: Teleported to "..plr.Name pEspStatus.TextColor3 = Color3.fromRGB(80,220,120) else pEspStatus.Text = "Status: "..plr.Name.." not found!" pEspStatus.TextColor3 = Color3.fromRGB(220,80,80) end end) end end buildPlayerList() refreshBtn.MouseButton1Click:Connect(function() buildPlayerList() pEspStatus.Text = "Status: List refreshed!" pEspStatus.TextColor3 = Color3.fromRGB(80,220,120) end) -- Divider before Player ESP local espDiv = Instance.new("Frame") espDiv.Size = UDim2.new(1,0,0,1); espDiv.BackgroundColor3 = Color3.fromRGB(40,40,60) espDiv.BorderSizePixel = 0; espDiv.Parent = espPage local espDivGap = Instance.new("Frame") espDivGap.Size = UDim2.new(1,0,0,6); espDivGap.BackgroundTransparency = 1; espDivGap.Parent = espPage -- ESP toggle row local espRow = Instance.new("Frame") espRow.Size = UDim2.new(1,0,0,40); espRow.BackgroundColor3 = Color3.fromRGB(22,22,32) espRow.BorderSizePixel = 0; espRow.Parent = espPage Instance.new("UICorner", espRow).CornerRadius = UDim.new(0,8) local espLbl = Instance.new("TextLabel") espLbl.Size = UDim2.new(1,-60,1,0); espLbl.Position = UDim2.new(0,12,0,0) espLbl.BackgroundTransparency = 1; espLbl.Text = "👁️ Player ESP" espLbl.TextColor3 = Color3.fromRGB(220,220,255); espLbl.TextSize = 13 espLbl.Font = Enum.Font.GothamBold; espLbl.TextXAlignment = Enum.TextXAlignment.Left espLbl.Parent = espRow local espToggleBg = Instance.new("Frame") espToggleBg.Size = UDim2.new(0,44,0,22); espToggleBg.Position = UDim2.new(1,-54,0.5,-11) espToggleBg.BackgroundColor3 = Color3.fromRGB(50,50,70); espToggleBg.BorderSizePixel = 0 espToggleBg.Parent = espRow Instance.new("UICorner", espToggleBg).CornerRadius = UDim.new(0,11) local espKnob = Instance.new("Frame") espKnob.Size = UDim2.new(0,18,0,18); espKnob.Position = UDim2.new(0,2,0,2) espKnob.BackgroundColor3 = Color3.fromRGB(180,180,200); espKnob.BorderSizePixel = 0 espKnob.Parent = espToggleBg Instance.new("UICorner", espKnob).CornerRadius = UDim.new(0,9) local espEnabled = false espToggleBg.InputBegan:Connect(function(i) if i.UserInputType == Enum.UserInputType.MouseButton1 then espEnabled = not espEnabled if espEnabled then espToggleBg.BackgroundColor3 = Color3.fromRGB(80,160,90) espKnob.Position = UDim2.new(0,24,0,2) espKnob.BackgroundColor3 = Color3.fromRGB(255,255,255) startESP() pEspStatus.Text = "Status: ESP ON" pEspStatus.TextColor3 = Color3.fromRGB(80,220,120) else espToggleBg.BackgroundColor3 = Color3.fromRGB(50,50,70) espKnob.Position = UDim2.new(0,2,0,2) espKnob.BackgroundColor3 = Color3.fromRGB(180,180,200) stopESP() pEspStatus.Text = "Status: ESP OFF" pEspStatus.TextColor3 = Color3.fromRGB(180,80,80) end end end) -- ESP sub toggles makeSubToggle(" Name", true, function(v) for _, objs in pairs(espObjects) do if objs[1] then local nameLbl = objs[1]:FindFirstChildOfClass("TextLabel") if nameLbl then nameLbl.Visible = v end end end end) makeSubToggle(" Health Bar", true, function(v) for _, objs in pairs(espObjects) do if objs[1] then for _, c in ipairs(objs[1]:GetChildren()) do if c:IsA("Frame") then c.Visible = v end end end end end) makeSubToggle(" Box", true, function(v) for _, objs in pairs(espObjects) do for _, obj in ipairs(objs) do if obj:IsA("SelectionBox") then obj.Visible = v end end end end) makeSubToggle(" Distance", true, function(v) for _, objs in pairs(espObjects) do if objs[1] then local children = objs[1]:GetChildren() if children[2] then children[2].Visible = v end end end end) espTab.MouseButton1Click:Connect(function() showPage(espPage, espTab) end) -- PAGE: SHOP local shopPage = makePage() local shopTab = makeTabBtn("🛒 SHOP", 3) local pShopStatus = pStatus(shopPage) pShopStatus.Text = "Status: Ready" local savedPos = nil local function shopTeleport(targetNames, itemName) savedPos = rootPart.CFrame pShopStatus.Text = "Status: Going to "..itemName.."..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) local ok, msg = teleportToAny(targetNames) if ok then pShopStatus.Text = "Status: At "..itemName.."! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) else pShopStatus.Text = "Status: "..msg; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80) savedPos = nil end end -- Info label local infoLbl = Instance.new("TextLabel") infoLbl.Size = UDim2.new(1,0,0,30); infoLbl.BackgroundColor3 = Color3.fromRGB(22,22,32) infoLbl.Text = "Teleports you to item • Buy in popup • Return back" infoLbl.TextColor3 = Color3.fromRGB(140,140,180); infoLbl.TextSize = 10 infoLbl.Font = Enum.Font.Gotham; infoLbl.BorderSizePixel = 0 infoLbl.Parent = shopPage Instance.new("UICorner", infoLbl).CornerRadius = UDim.new(0,6) local s0 = pBtn(shopPage, "🔫 AK-47 — $4,000", Color3.fromRGB(120,60,40)) s0.MouseButton1Click:Connect(function() pShopStatus.Text = "Status: Teleporting..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) savedPos = rootPart.CFrame local target = nil for _, v in pairs(workspace:GetDescendants()) do if v.Name == "AK-47" and v.Parent and v.Parent.Name == "ItemsOnSale" then target = v; break end end if target then local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos) pShopStatus.Text = "Status: At AK-47! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) end else pShopStatus.Text = "Status: AK-47 not found!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80) savedPos = nil end end) local s1 = pBtn(shopPage, "🔫 P90 — $22,500", Color3.fromRGB(80,60,140)) s1.MouseButton1Click:Connect(function() pShopStatus.Text = "Status: Teleporting..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) savedPos = rootPart.CFrame local target = nil for _, v in pairs(workspace:GetDescendants()) do if v.Name == "P90" and v.Parent and v.Parent.Name == "ItemsOnSale" then target = v; break end end if not target then target = workspace:FindFirstChild("P90", true) end if target then local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos) pShopStatus.Text = "Status: At P90! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) end else pShopStatus.Text = "Status: P90 not found!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80); savedPos = nil end end) local s2 = pBtn(shopPage, "🛹 Skateboard — $100", Color3.fromRGB(60,120,80)) s2.MouseButton1Click:Connect(function() pShopStatus.Text = "Status: Teleporting..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) savedPos = rootPart.CFrame local target = nil for _, v in pairs(workspace:GetDescendants()) do if (v.Name == "Skateboard" or v.Name == "Skateboard 2") and v.Parent and v.Parent.Name == "ItemsOnSale" then target = v; break end end if not target then target = workspace:FindFirstChild("Skateboard 2", true) end if target then local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos) pShopStatus.Text = "Status: At Skateboard! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) end else pShopStatus.Text = "Status: Skateboard not found!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80); savedPos = nil end end) local s3 = pBtn(shopPage, "🚲 Bike — $1,250", Color3.fromRGB(60,100,160)) s3.MouseButton1Click:Connect(function() pShopStatus.Text = "Status: Teleporting..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) savedPos = rootPart.CFrame local target = nil for _, v in pairs(workspace:GetDescendants()) do if v.Name == "Bike" and v.Parent and v.Parent.Name == "ItemsOnSale" then target = v; break end end if not target then target = workspace:FindFirstChild("Bike", true) end if target then local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos) pShopStatus.Text = "Status: At Bike! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) end else pShopStatus.Text = "Status: Bike not found!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80); savedPos = nil end end) local function shopItem(btn, itemNames, itemLabel) btn.MouseButton1Click:Connect(function() pShopStatus.Text = "Status: Teleporting..."; pShopStatus.TextColor3 = Color3.fromRGB(255,220,80) savedPos = rootPart.CFrame local target = nil for _, v in pairs(workspace:GetDescendants()) do for _, name in ipairs(itemNames) do if v.Name == name and v.Parent and v.Parent.Name == "ItemsOnSale" then target = v; break end end if target then break end end if not target then for _, name in ipairs(itemNames) do target = workspace:FindFirstChild(name, true) if target then break end end end if target then local pos if target:IsA("BasePart") or target:IsA("MeshPart") then pos = target.Position + Vector3.new(0,4,0) elseif target:IsA("Model") then pos = target:GetModelCFrame().Position + Vector3.new(0,4,0) end if pos then rootPart.CFrame = CFrame.new(pos) pShopStatus.Text = "Status: At "..itemLabel.."! Buy in shop GUI"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) end else pShopStatus.Text = "Status: "..itemLabel.." not found!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80); savedPos = nil end end) end local sC4 = pBtn(shopPage, "💣 C4 — $500", Color3.fromRGB(160,80,20)) shopItem(sC4, {"C4","c4"}, "C4") local sVest = pBtn(shopPage, "🦺 Light Vest — $100", Color3.fromRGB(60,100,60)) shopItem(sVest, {"Light Vest","LightVest","light vest"}, "Light Vest") local sSmoke = pBtn(shopPage, "💨 Smoke — $100", Color3.fromRGB(80,80,100)) shopItem(sSmoke, {"Smoke","smoke","SmokeGrenade","Smoke Grenade"}, "Smoke") local sFrag = pBtn(shopPage, "💥 Frag — $200", Color3.fromRGB(140,100,20)) shopItem(sFrag, {"Frag","frag","FragGrenade","Frag Grenade"}, "Frag") local sLock = pBtn(shopPage, "🔓 Lockpick — $100", Color3.fromRGB(60,80,120)) shopItem(sLock, {"Lockpick","lockpick","Lock Pick","LockPick"}, "Lockpick") local sAR = pBtn(shopPage, "🔫 AR-15 — $3,000", Color3.fromRGB(80,80,140)) shopItem(sAR, {"AR15","AR-15","ar15","ar-15","Ar15"}, "AR-15") local sUzi = pBtn(shopPage, "🔫 Uzi — $1,500", Color3.fromRGB(100,60,120)) shopItem(sUzi, {"Uzi","uzi","UZI"}, "Uzi") local sRPG = pBtn(shopPage, "🚀 RPG — $10,000", Color3.fromRGB(160,40,40)) shopItem(sRPG, {"RPG","rpg","Rpg","RPG7","RPG-7"}, "RPG") local returnBtn = pBtn(shopPage, "↩ Return to previous position", Color3.fromRGB(100,40,40)) returnBtn.MouseButton1Click:Connect(function() if savedPos then rootPart.CFrame = savedPos savedPos = nil pShopStatus.Text = "Status: Returned!"; pShopStatus.TextColor3 = Color3.fromRGB(80,220,120) else pShopStatus.Text = "Status: No saved position!"; pShopStatus.TextColor3 = Color3.fromRGB(220,80,80) end end) shopTab.MouseButton1Click:Connect(function() showPage(shopPage, shopTab) end) -- default page showPage(tpPage, tpTab) end premiumBtn.MouseButton1Click:Connect(openPremiumGui) print("[DzindrasMenu] Loaded. Enjoy!")