✓ Accepted answer
:GetChildren() is a function used to get the children of an instance and returns it as an array. Since this gives you an array, you could use a generic for-loop to iterate through every child/value in the array.
local MusicFolder = workspace.Music
for _, song in ipairs(MusicFolder:GetChildren()) do
if song:IsA("Sound") then
song.Volume = 0
end
end
In the above code, we define our Music folder then get it's children in the loop. The 'song' variable will be the child or value in the array. We then set it's Volume if it's a Sound object.
If I missed anything or you need anything explained let me know.
###GetChildren()