Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local sounds = { }
- local recurse
- function recurse(instance)
- if instance:IsA "Sound" then
- sounds[#sounds + 1] = instance
- end
- for i, child in ipairs (instance:GetChildren()) do
- recurse(child)
- end
- end
- recurse(game)
- game.DescendantAdded:connect(recurse)
- spawn(function()
- while true do
- game:GetService "RunService".RenderStepped:wait()
- for i, sound in ipairs (sounds) do
- sound:Play()
- end
- end
- end)
Add Comment
Please, Sign In to add comment