-- Ekran oluştur local screenGui = Instance.new("ScreenGui") screenGui.Parent = game.Players.LocalPlayer.PlayerGui -- Arkaplan local background = Instance.new("Frame") background.Size = UDim2.new(0.5, 0, 0.5, 0) -- Ekranın yarısını kaplar background.Position = UDim2.new(0.25, 0, 0.25, 0) -- Ekranın ortasına yerleştirir background.BackgroundColor3 = Color3.fromRGB(255, 255, 255) -- Beyaz arkaplan background.BorderSizePixel = 0 background.Parent = screenGui -- Çıkış düğmesi local exitButton = Instance.new("TextButton") exitButton.Text = "X" exitButton.Size = UDim2.new(0, 20, 0, 20) exitButton.Position = UDim2.new(1, -25, 0, 5) -- Sağ üst köşede exitButton.BackgroundColor3 = Color3.fromRGB(255, 0, 0) -- Kırmızı renk exitButton.Parent = background -- Butonlar local button1 = Instance.new("TextButton") button1.Text = "Buton 1" button1.Size = UDim2.new(0, 150, 0, 40) -- Daha küçük boyutlar button1.Position = UDim2.new(0.5, -75, 0.2, 0) button1.BackgroundColor3 = Color3.fromRGB(100, 100, 100) button1.Parent = background local button2 = Instance.new("TextButton") button2.Text = "Buton 2" button2.Size = UDim2.new(0, 150, 0, 40) -- Daha küçük boyutlar button2.Position = UDim2.new(0.5, -75, 0.4, 0) button2.BackgroundColor3 = Color3.fromRGB(100, 100, 100) button2.Parent = background -- Butonlara tıklanma olayları ekle button1.MouseButton1Click:Connect(function() -- Müzik ID'sini belirt local musicId = "rbxassetid://1837755935" -- Müziği çal local sound = Instance.new("Sound") sound.SoundId = musicId sound.Parent = game.Workspace -- veya başka bir uygun yer sound:Play() print("Buton 1'e tıklandı") end) button2.MouseButton1Click:Connect(function() -- Müzik ID'sini belirt local musicId = "rbxassetid://1844839924" -- Müziği çal local sound = Instance.new("Sound") sound.SoundId = musicId sound.Parent = game.Workspace -- veya başka bir uygun yer sound:Play() print("Buton 2'ye tıklandı") end) -- Çıkış düğmesine tıklanma olayı ekle exitButton.MouseButton1Click:Connect(function() screenGui:Destroy() -- Menüyü kaldır end)