-- ============================ -- DZINDRAS MENU GUI + PREMIUM GUI -- ============================ -- 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: 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!")