Untitled

Run Settings
LanguageLua
Language Version
Run Command
-- Place this script in a LocalScript object inside a ScreenGui in StarterGui local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") -- Create a ScreenGui local screenGui = Instance.new("ScreenGui") screenGui.Parent = playerGui -- Create outer frame with rounded corners local outerFrame = Instance.new("Frame") outerFrame.Size = UDim2.new(0, 300, 0, 200) outerFrame.Position = UDim2.new(0.5, -150, 0.5, -100) outerFrame.BackgroundColor3 = Color3.fromRGB(34, 34, 34) outerFrame.BorderSizePixel = 0 outerFrame.Parent = screenGui -- Apply UICorner to outer frame local uiCorner = Instance.new("UICorner") uiCorner.CornerRadius = UDim.new(0, 5) uiCorner.Parent = outerFrame -- Create tabs local tabs = {"Page 1", "Page 2", "Page 3"} local activePage = nil -- Function to switch between pages local function switchPage(page) if activePage then activePage.Visible = false end activePage = page activePage.Visible = true end -- Dark mode colors local darkMode = { BackgroundColor = Color3.fromRGB(34, 34, 34), TextColor = Color3.fromRGB(255, 255, 255), ButtonColor = Color3.fromRGB(44, 44, 44), } -- Create buttons for each tab (inner frames) for i, tabText in ipairs(tabs) do local tabButton = Instance.new("TextButton") tabButton.Text = tabText tabButton.Size = UDim2.new(0, 100, 0, 50) tabButton.Position = UDim2.new(0, (i - 1) * 110, 0, 0) tabButton.BackgroundColor3 = darkMode.ButtonColor tabButton.TextColor3 = darkMode.TextColor tabButton.Parent = outerFrame -- Create inner frames for each tab local tabFrame = Instance.new("Frame") tabFrame.Size = UDim2.new(1, 0, 1, 0) tabFrame.BackgroundColor3 = darkMode.BackgroundColor tabFrame.Visible = false tabFrame.Parent = outerFrame -- Switch to the corresponding page when the button is clicked tabButton.MouseButton1Click:Connect(function() switchPage(tabFrame) end) end -- Initial page switchPage(outerFrame:FindFirstChild("Page 1")) -- Assuming the first tab is named "Page 1"
Editor Settings
Theme
Key bindings
Full width
Lines