CCCPaste

68048cc8d1430

--// SongsHub Steal a Brainrot
-- Local (se escucha solo tú en KRNL/Delta)

local SoundService = game:GetService("SoundService")

-- Crear sonido
local LocalSound = Instance.new("Sound")
LocalSound.Name = "LocalSong"
LocalSound.Parent = SoundService
LocalSound.Volume = 2
LocalSound.Looped = false

-- GUI
local ScreenGui = Instance.new("ScreenGui")
ScreenGui.Name = "SongsHub"
ScreenGui.Parent = game:GetService("CoreGui")

local Frame = Instance.new("Frame")
Frame.Size = UDim2.new(0, 350, 0, 500)
Frame.Position = UDim2.new(0.5, -175, 0.2, 0)
Frame.BackgroundTransparency = 0.3
Frame.BackgroundColor3 = Color3.fromRGB(20,20,20)
Frame.Parent = ScreenGui

local UIStroke = Instance.new("UIStroke")
UIStroke.Thickness = 3
UIStroke.ApplyStrokeMode = Enum.ApplyStrokeMode.Border
UIStroke.Parent = Frame

-- Rainbow border
task.spawn(function()
    while task.wait() do
        for h = 0, 1, 0.01 do
            UIStroke.Color = Color3.fromHSV(h, 1, 1)
            task.wait(0.03)
        end
    end
end)

-- 🎵 Lista de canciones Steal a Brainrot
local songs = {
    {"Crab Rave", 5410086218}, -- Noisestorm
    {"Raining Tacos", 142376088}, -- Parry Gripp
    {"Nyan Cat Theme", 318925857}, -- clásico Nyan Cat
    {"PASSOS BEM SOLTO (Slowed)", 1847352428}, -- aproximado
    {"Tung Tung Tung Sahur", 114123434817135}, -- Italian Brainrot
    {"La Cucaracha", 1026409976}, -- Mexican Fiesta
    {"Brainrot Rap (Extended)", 85475858993795}, -- Brainrot God Rap
}

-- Área canciones
local contentFrame = Instance.new("ScrollingFrame")
contentFrame.Size = UDim2.new(1, -20, 0.8, -20)
contentFrame.Position = UDim2.new(0, 10, 0.18, 0)
contentFrame.CanvasSize = UDim2.new(0,0,0,#songs*40)
contentFrame.BackgroundTransparency = 1
contentFrame.Parent = Frame

-- Buscador
local searchBox = Instance.new("TextBox")
searchBox.Size = UDim2.new(0.9, 0, 0, 30)
searchBox.Position = UDim2.new(0.05, 0, 0.05, 0)
searchBox.PlaceholderText = "Buscar canción..."
searchBox.TextColor3 = Color3.new(1,1,1)
searchBox.BackgroundColor3 = Color3.fromRGB(50,50,50)
searchBox.Text = ""
searchBox.Parent = Frame

-- Botón Loop
local loopEnabled = false
local loopBtn = Instance.new("TextButton")
loopBtn.Size = UDim2.new(0.3, -10, 0, 30)
loopBtn.Position = UDim2.new(0.33, 5, 0, 10)
loopBtn.BackgroundColor3 = Color3.fromRGB(20,100,20)
loopBtn.TextColor3 = Color3.new(1,1,1)
loopBtn.Text = "Loop OFF"
loopBtn.Parent = Frame

loopBtn.MouseButton1Click:Connect(function()
    loopEnabled = not loopEnabled
    LocalSound.Looped = loopEnabled
    loopBtn.Text = loopEnabled and "Loop ON" or "Loop OFF"
    loopBtn.BackgroundColor3 = loopEnabled and Color3.fromRGB(20,150,20) or Color3.fromRGB(20,100,20)
end)

-- Botón Stop
local stopBtn = Instance.new("TextButton")
stopBtn.Size = UDim2.new(0.3, -10, 0, 30)
stopBtn.Position = UDim2.new(0.66, 5, 0, 10)
stopBtn.BackgroundColor3 = Color3.fromRGB(100,20,20)
stopBtn.TextColor3 = Color3.new(1,1,1)
stopBtn.Text = "Stop"
stopBtn.Parent = Frame
stopBtn.MouseButton1Click:Connect(function()
    LocalSound:Stop()
end)

-- Mostrar canciones
local function ShowSongs(filter)
    for _, child in ipairs(contentFrame:GetChildren()) do
        if child:IsA("TextButton") then child:Destroy() end
    end
    filter = filter and string.lower(filter) or ""
    local index = 0
    for _, song in ipairs(songs) do
        if filter == "" or string.find(string.lower(song[1]), filter) then
            index += 1
            local btn = Instance.new("TextButton")
            btn.Size = UDim2.new(0, 300, 0, 30)
            btn.Position = UDim2.new(0, 10, 0, (index-1)*35)
            btn.BackgroundColor3 = Color3.fromRGB(40,40,40)
            btn.TextColor3 = Color3.new(1,1,1)
            btn.Text = song[1]
            btn.Parent = contentFrame
            btn.MouseButton1Click:Connect(function()
                LocalSound:Stop()
                LocalSound.SoundId = "rbxassetid://"..song[2]
                LocalSound:Play()
            end)
        end
    end
    contentFrame.CanvasSize = UDim2.new(0,0,0,index*40)
end

-- Filtrar al escribir
searchBox:GetPropertyChangedSignal("Text"):Connect(function()
    ShowSongs(searchBox.Text)
end)

-- Mostrar inicial
ShowSongs("")