local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local UIS = game:GetService("UserInputService") local gui = Instance.new("ScreenGui", playerGui) gui.Name = "megaui" gui.ResetOnSpawn = false gui.ZIndexBehavior = Enum.ZIndexBehavior.Sibling local hidden = false UIS.InputBegan:Connect(function(input) if input.KeyCode == Enum.KeyCode.LeftAlt then hidden = not hidden gui.Enabled = not hidden end end) local frame = Instance.new("Frame", gui) frame.Size = UDim2.new(0, 400, 0, 300) frame.Position = UDim2.new(0.5, -200, 0.5, -150) frame.BackgroundColor3 = Color3.fromRGB(35, 35, 50) frame.BorderSizePixel = 0 frame.Name = "MainFrame" frame.Active = true frame.Draggable = true Instance.new("UICorner", frame).CornerRadius = UDim.new(0, 14) local title = Instance.new("TextLabel", frame) title.Text = "💎 Baseball Studs" title.Font = Enum.Font.GothamBlack title.TextSize = 22 title.TextColor3 = Color3.fromRGB(255, 255, 255) title.BackgroundTransparency = 1 title.Size = UDim2.new(1, 0, 0, 40) local tabBar = Instance.new("Frame", frame) tabBar.Size = UDim2.new(0, 330, 0, 40) tabBar.Position = UDim2.new(0.5, -165, 0, 48) tabBar.BackgroundTransparency = 1 local function createTabButton(parent, text, pos, size) local btn = Instance.new("TextButton", parent) btn.Size = UDim2.new(0, size, 1, 0) btn.Position = UDim2.new(0, pos, 0, 0) btn.Text = text btn.Font = Enum.Font.GothamBold btn.TextSize = 16 btn.BackgroundColor3 = Color3.fromRGB(60, 90, 140) btn.TextColor3 = Color3.fromRGB(255, 255, 255) Instance.new("UICorner", btn).CornerRadius = UDim.new(0, 8) return btn end local rebirthBtn = createTabButton(tabBar, "🔁 Rebirths", 0, 80) local winsBtn = createTabButton(tabBar, "🏆 Wins", 85, 80) local strBtn = createTabButton(tabBar, "đŸ’Ē Strength", 170, 100) local infoBtn = createTabButton(tabBar, "â„šī¸ Info", 275, 80) local pages = Instance.new("Frame", frame) pages.Size = UDim2.new(1, 0, 1, -95) pages.Position = UDim2.new(0, 0, 0, 95) pages.BackgroundTransparency = 1 local function createDupePage(stat) local page = Instance.new("Frame", pages) page.Size = UDim2.new(1, 0, 1, 0) page.Visible = false page.BackgroundTransparency = 1 local input = Instance.new("TextBox", page) input.PlaceholderText = "Enter amount..." input.ClearTextOnFocus = true input.Size = UDim2.new(0.7, 0, 0, 40) input.Position = UDim2.new(0.15, 0, 0.25, 0) input.Font = Enum.Font.GothamBold input.Text = "" input.TextSize = 18 input.TextColor3 = Color3.fromRGB(0, 0, 0) input.BackgroundColor3 = Color3.fromRGB(255, 255, 255) Instance.new("UICorner", input).CornerRadius = UDim.new(0, 10) input:GetPropertyChangedSignal("Text"):Connect(function() if input.Text ~= "" and not tonumber(input.Text) then input.Text = input.Text:match("%d*") end end) local give = Instance.new("TextButton", page) give.Size = UDim2.new(0.4, 0, 0, 38) give.Position = UDim2.new(0.3, 0, 0.6, 0) give.Text = "🎁 Give" give.Font = Enum.Font.GothamBlack give.TextSize = 18 give.BackgroundColor3 = Color3.fromRGB(100, 200, 120) give.TextColor3 = Color3.fromRGB(255, 255, 255) Instance.new("UICorner", give).CornerRadius = UDim.new(0, 10) give.MouseButton1Click:Connect(function() local val = tonumber(input.Text) if val then local args = {stat, val} game:GetService("ReplicatedStorage"):WaitForChild("Remotes"):WaitForChild("AdjustStat"):FireServer(unpack(args)) end end) return page end local rebirthPage = createDupePage("Rebirths") local winsPage = createDupePage("Wins") local strPage = createDupePage("Strength") local infoPage = Instance.new("Frame", pages) infoPage.Size = UDim2.new(1, 0, 1, 0) infoPage.Visible = false infoPage.BackgroundTransparency = 1 local avatar = Instance.new("ImageLabel", infoPage) avatar.Size = UDim2.new(0, 80, 0, 80) avatar.Position = UDim2.new(0.5, -40, 0, 10) avatar.BackgroundTransparency = 1 avatar.Image = "https://www.roblox.com/headshot-thumbnail/image?userId=" .. player.UserId .. "&width=420&height=420&format=png" local nameLabel = Instance.new("TextLabel", infoPage) nameLabel.Size = UDim2.new(1, 0, 0, 30) nameLabel.Position = UDim2.new(0, 0, 0, 100) nameLabel.BackgroundTransparency = 1 nameLabel.Text = "Player: " .. player.Name nameLabel.Font = Enum.Font.GothamBold nameLabel.TextColor3 = Color3.fromRGB(255, 255, 255) nameLabel.TextSize = 20 nameLabel.TextWrapped = true local Information = Instance.new("TextLabel", infoPage) Information.Size = UDim2.new(1, 0, 0, 30) Information.Position = UDim2.new(0, 0, 0, 130) Information.BackgroundTransparency = 1 Information.Text = "To hide menu use LeftALT" Information.Font = Enum.Font.GothamBold Information.TextColor3 = Color3.fromRGB(255, 255, 255) Information.TextSize = 20 Information.TextWrapped = true local footer = Instance.new("TextLabel", infoPage) footer.Size = UDim2.new(1, 0, 0, 30) footer.Position = UDim2.new(0, 0, 1, -30) footer.BackgroundTransparency = 1 footer.Text = "[Created by salvatore]" footer.Font = Enum.Font.Gotham footer.TextColor3 = Color3.fromRGB(150, 150, 150) footer.TextSize = 14 footer.TextWrapped = true local function setActive(tab) for _, btn in pairs({winsBtn, strBtn, infoBtn, rebirthBtn}) do btn.BackgroundColor3 = Color3.fromRGB(60, 90, 140) end tab.BackgroundColor3 = Color3.fromRGB(120, 180, 255) end winsBtn.MouseButton1Click:Connect(function() winsPage.Visible = true strPage.Visible = false infoPage.Visible = false rebirthPage.Visible = false setActive(winsBtn) end) strBtn.MouseButton1Click:Connect(function() winsPage.Visible = false strPage.Visible = true infoPage.Visible = false rebirthPage.Visible = false setActive(strBtn) end) infoBtn.MouseButton1Click:Connect(function() winsPage.Visible = false strPage.Visible = false infoPage.Visible = true rebirthPage.Visible = false setActive(infoBtn) end) rebirthBtn.MouseButton1Click:Connect(function() winsPage.Visible = false strPage.Visible = false infoPage.Visible = false rebirthPage.Visible = true setActive(rebirthBtn) end) winsPage.Visible = true strPage.Visible = false infoPage.Visible = false rebirthPage.Visible = false setActive(winsBtn) local close = Instance.new("TextButton", frame) close.Size = UDim2.new(0, 32, 0, 32) close.Position = UDim2.new(1, -38, 0, 6) close.Text = "✖" close.Font = Enum.Font.GothamBold close.TextSize = 20 close.TextColor3 = Color3.fromRGB(255, 255, 255) close.BackgroundColor3 = Color3.fromRGB(200, 60, 60) Instance.new("UICorner", close).CornerRadius = UDim.new(0, 10) close.MouseButton1Click:Connect(function() gui:Destroy() end)