local player = game.Players.LocalPlayer local playerGui = player:WaitForChild("PlayerGui") local buttonGui = Instance.new("ScreenGui") buttonGui.Name = "ShopButtons" buttonGui.ResetOnSpawn = false buttonGui.Parent = playerGui local buttonStyle = { Size = UDim2.new(0.15, 0, 0.07, 0), BackgroundColor3 = Color3.fromRGB(50, 50, 50), TextColor3 = Color3.fromRGB(255, 255, 255), Font = Enum.Font.SourceSansBold, TextSize = 18, AnchorPoint = Vector2.new(1, 0), } local seedButton = Instance.new("TextButton") seedButton.Name = "SeedShopButton" seedButton.Text = "Seed Shop" seedButton.Position = UDim2.new(1, -10, 0, 10) for prop, value in pairs(buttonStyle) do seedButton[prop] = value end seedButton.Parent = buttonGui local gearButton = Instance.new("TextButton") gearButton.Name = "GearShopButton" gearButton.Text = "Gear Shop" gearButton.Position = UDim2.new(1, -10, 0, 80) for prop, value in pairs(buttonStyle) do gearButton[prop] = value end gearButton.Parent = buttonGui local seedShopGUI = playerGui:FindFirstChild("Seed_Shop") or Instance.new("ScreenGui") seedShopGUI.Name = "Seed_Shop" seedShopGUI.Enabled = false seedShopGUI.Parent = playerGui local gearShopGUI = playerGui:FindFirstChild("Gear_Shop") or Instance.new("ScreenGui") gearShopGUI.Name = "Gear_Shop" gearShopGUI.Enabled = false gearShopGUI.Parent = playerGui seedButton.MouseButton1Click:Connect(function() seedShopGUI.Enabled = not seedShopGUI.Enabled gearShopGUI.Enabled = false end) gearButton.MouseButton1Click:Connect(function() gearShopGUI.Enabled = not gearShopGUI.Enabled seedShopGUI.Enabled = false end)