Hello! Somehow, my entire profile was deleted after being inactive for a while, so please excuse me for my low rep.
Anyways, I have a pretty big issue. Players are able to somehow insert entire sounds into my game, whilst FE is enabled. They put it in Workspace, Soundscape, and even in Players.. I remove them in-game by running the script:
for i,v in pairs (game.Workspace:GetChildren()) do
if v:IsA("Sound") then
v:Destroy()
end
end
This works fine. I know it's an extremely bad solution and all, but it's a temp fix. I tried creating a script that instantly removes audio when inserted in the game. This could be in workspace, soundscape, and anything else:
local function soundAdded(c)
if c:IsA("Sound") then
repeat wait() until c.Parent ~= nil
c:Destroy()
end
end
game.DescendantAdded:Connect(function(c)
soundAdded(c)
end)
This works great. It removes added audio the second they insert it, and saves audio I added in studio. One problem however..
"The current identity (2) cannot Class security check (lacking permission 1)" is showing like 50 times everytime someone joins my game. After a bit of checking I noticed my script also removes the Sounds in Player's heads like "jumping", "swimming", etc. etc. Assuming this messes with the security classes, I am left hopeless.
How do I stop users from inserting audio in my game without spamming my entire console with errors?
Help would be much appreciated!!

2 comments
Sadly, this is set to true. I'm lost.
I've updated the answer. Also, others had this problem when they had a "boombox" that allowed sounds being added through a RemoteEvent (which would mean this is not a Roblox bug): https://devforum.roblox.com/t/music-exploits-on-filtering-enabled/234314