local ScreenGui = Instance.new("ScreenGui") local MainFrame = Instance.new("Frame") local ScrollingFrame = Instance.new("ScrollingFrame") local UIListLayout = Instance.new("UIListLayout") local Title = Instance.new("TextLabel") -- Setup UI ScreenGui.Name = "SoundSpyUI" ScreenGui.Parent = game:GetService("CoreGui") ScreenGui.ResetOnSpawn = false MainFrame.Name = "MainFrame" MainFrame.Parent = ScreenGui MainFrame.BackgroundColor3 = Color3.fromRGB(30, 30, 30) MainFrame.BorderSizePixel = 0 MainFrame.Position = UDim2.new(0.7, 0, 0.3, 0) MainFrame.Size = UDim2.new(0, 250, 0, 300) MainFrame.Active = true MainFrame.Draggable = true -- You can move it around Title.Parent = MainFrame Title.Size = UDim2.new(1, 0, 0, 30) Title.BackgroundColor3 = Color3.fromRGB(45, 45, 45) Title.Text = "🔊 SOUND DETECTOR" Title.TextColor3 = Color3.fromRGB(255, 255, 255) Title.TextSize = 14 Title.Font = Enum.Font.SourceSansBold ScrollingFrame.Parent = MainFrame ScrollingFrame.Position = UDim2.new(0, 0, 0, 30) ScrollingFrame.Size = UDim2.new(1, 0, 1, -30) ScrollingFrame.BackgroundTransparency = 1 ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, 0) ScrollingFrame.ScrollBarThickness = 5 UIListLayout.Parent = ScrollingFrame UIListLayout.SortOrder = Enum.SortOrder.LayoutOrder UIListLayout.Padding = UDim.new(0, 5) local function AddSoundToList(sound) local SoundFrame = Instance.new("Frame") local NameLabel = Instance.new("TextLabel") local CopyBtn = Instance.new("TextButton") SoundFrame.Size = UDim2.new(0.95, 0, 0, 40) SoundFrame.BackgroundColor3 = Color3.fromRGB(50, 50, 50) SoundFrame.Parent = ScrollingFrame NameLabel.Parent = SoundFrame NameLabel.Size = UDim2.new(0.7, 0, 1, 0) NameLabel.BackgroundTransparency = 1 NameLabel.Text = sound.Name .. "\nID: " .. sound.SoundId:match("%d+") NameLabel.TextColor3 = Color3.fromRGB(200, 200, 200) NameLabel.TextSize = 12 NameLabel.TextWrapped = true CopyBtn.Parent = SoundFrame CopyBtn.Position = UDim2.new(0.75, 0, 0.2, 0) CopyBtn.Size = UDim2.new(0.2, 0, 0.6, 0) CopyBtn.BackgroundColor3 = Color3.fromRGB(0, 150, 200) CopyBtn.Text = "COPY" CopyBtn.TextColor3 = Color3.fromRGB(255, 255, 255) CopyBtn.MouseButton1Click:Connect(function() setclipboard(sound:GetFullName()) CopyBtn.Text = "DONE!" task.wait(1) CopyBtn.Text = "COPY" end) ScrollingFrame.CanvasSize = UDim2.new(0, 0, 0, UIListLayout.AbsoluteContentSize.Y) end -- Detection Logic local function check(v) if v:IsA("Sound") then v.Played:Connect(function() AddSoundToList(v) end) v:GetPropertyChangedSignal("Playing"):Connect(function() if v.Playing then AddSoundToList(v) end end) end end for _, v in pairs(game:GetDescendants()) do pcall(check, v) end game.DescendantAdded:Connect(function(v) pcall(check, v) end) print("Sound Spy UI Loaded. Trigger the error now!")