for _, service in ipairs(game:GetChildren()) do
local success, result = pcall(function()
return service:GetDescendants()
end)
if success then
if result then
for _, sound in ipairs(result) do
if sound:IsA("Sound") then
if sound.SoundId == "rbxassetid://0" then
print(sound.Name)
end
end
end
end
end
end
I know that this question has an answer, but as future reference to anyone looking for sounds throwing this error in their experiences, here’s a tip–
You can use the search bar in the explorer window to search by the ClassName of instances in addition to their more well known use, which is searching by their Name.
ex. I have a Sound with the name “PunchSFX”. It’ll pop up in the explorer window if I search “PunchSFX”, but also if I search “Sound”.