-- سكربت فريم مع صورة ومشغل أغاني local Players = game:GetService("Players") local LocalPlayer = Players.LocalPlayer local PlayerGui = LocalPlayer:WaitForChild("PlayerGui") -- 1. إنشاء الشاشة الرئيسية (ScreenGui) local ScreenGui = Instance.new("ScreenGui") ScreenGui.Name = "VibeGui" ScreenGui.ResetOnSpawn = false ScreenGui.Parent = PlayerGui -- 2. إنشاء الفريم الرئيسي (Main Frame) local MainFrame = Instance.new("Frame") MainFrame.Name = "MainFrame" MainFrame.Size = UDim2.new(0, 360, 0, 460) MainFrame.Position = UDim2.new(0.5, -180, 0.5, -230) MainFrame.BackgroundColor3 = Color3.fromRGB(15, 15, 15) -- خلفية سوداء داكنة MainFrame.BorderSizePixel = 2 MainFrame.BorderColor3 = Color3.fromRGB(220, 0, 0) -- حدود حمراء متناسقة مع الصورة MainFrame.Active = true MainFrame.Draggable = true -- ميزة سحب الفريم بالماوس MainFrame.Parent = ScreenGui -- زوايا ناعمة للفريم local UICorner = Instance.new("UICorner") UICorner.CornerRadius = UDim.new(0, 12) UICorner.Parent = MainFrame -- 3. إضافة الصورة داخل الفريم (ImageLabel) local ImageLabel = Instance.new("ImageLabel") ImageLabel.Name = "VibeImage" ImageLabel.Size = UDim2.new(0, 320, 0, 320) ImageLabel.Position = UDim2.new(0.5, -160, 0, 20) ImageLabel.BackgroundTransparency = 1 -- ⚠️ استبدل الرقم اللي تحت بـ ID الصورة الخاص بك بعد رفعها على روبلوكس ImageLabel.Image = "rbxassetid://1234567890" ImageLabel.Parent = MainFrame -- زوايا ناعمة للصورة local ImageCorner = Instance.new("UICorner") ImageCorner.CornerRadius = UDim.new(0, 8) ImageCorner.Parent = ImageLabel -- 4. نظام الصوت (Sound Object) local Sound = Instance.new("Sound") Sound.Name = "GuiMusic" Sound.Volume = 1 Sound.Looped = true Sound.Parent = MainFrame -- 🎵 قائمة أكواد الأغاني (تقدر تغير الأسماء والأكواد من هنا) local SongList = { ["Phonk Vibe"] = 1837402422, ["Dark Ambient"] = 1839872449, ["Sad Beats"] = 9046525547 } -- 5. نص حالة الأغنية (Status Label) local StatusLabel = Instance.new("TextLabel") StatusLabel.Name = "StatusLabel" StatusLabel.Size = UDim2.new(0, 320, 0, 30) StatusLabel.Position = UDim2.new(0.5, -160, 0, 355) StatusLabel.BackgroundTransparency = 1 StatusLabel.Text = "اضغط لتشغيل الموسيقى" StatusLabel.TextColor3 = Color3.fromRGB(200, 200, 200) StatusLabel.Font = Enum.Font.GothamBold StatusLabel.TextSize = 14 StatusLabel.Parent = MainFrame -- 6. زر التشغيل والتبديل (Play Button) local PlayButton = Instance.new("TextButton") PlayButton.Name = "PlayButton" PlayButton.Size = UDim2.new(0, 160, 0, 40) PlayButton.Position = UDim2.new(0.5, -80, 0, 395) PlayButton.BackgroundColor3 = Color3.fromRGB(220, 0, 0) -- زر أحمر PlayButton.Text = "تغيير الأغنية 🎵" PlayButton.TextColor3 = Color3.fromRGB(255, 255, 255) PlayButton.Font = Enum.Font.GothamBold PlayButton.TextSize = 16 PlayButton.Parent = MainFrame local ButtonCorner = Instance.new("UICorner") ButtonCorner.CornerRadius = UDim.new(0, 8) ButtonCorner.Parent = PlayButton -- تحويل الأغاني إلى قائمة مرتبة للتبديل بينها local songNames = {} for name, _ in pairs(SongList) do table.insert(songNames, name) end local currentSongIndex = 1 -- تشغيل الأغنية عند الضغط على الزر PlayButton.MouseButton1Click:Connect(function() if #songNames == 0 then return end local currentName = songNames[currentSongIndex] local currentId = SongList[currentName] Sound.SoundId = "rbxassetid://" .. currentId Sound:Play() StatusLabel.Text = "شغال الآن: " .. currentName StatusLabel.TextColor3 = Color3.fromRGB(255, 0, 0) -- تغيير النص للأحمر عند التشغيل -- التجهيز للأغنية التالية في الضغطة القادمة currentSongIndex = currentSongIndex + 1 if currentSongIndex > #songNames then currentSongIndex = 1 end end)