
KeylessUniversal

--add us on roblox vincentplayz9356
if not game:IsLoaded() then
game.Loaded:Wait()
end
local Players = game:GetService("Players")
local SoundService = game:GetService("SoundService")
local Workspace = game:GetService("Workspace")
local Lighting = game:GetService("Lighting")
local player = Players.LocalPlayer
if not player then
Players.PlayerAdded:Wait()
player = Players.LocalPlayer
end
local playerGui = player:WaitForChild("PlayerGui")
local musicKeywords = {
"music", "bgm", "soundtrack", "theme", "background", "ambient",
"song", "melody", "score", "ost", "main theme", "loop", "atmosphere"
}
local processedSounds = {}
local musicDetected = false
local function processSound(sound)
if not sound:IsA("Sound") then return false end
if processedSounds[sound] then return false end
local name = sound.Name:lower()
local parentName = (sound.Parent and sound.Parent.Name or ""):lower()
local isMusic = false
for _, keyword in ipairs(musicKeywords) do
if name:find(keyword) or parentName:find(keyword) then
isMusic = true
break
end
end
if not isMusic and sound.Looped then
isMusic = true
end
if not isMusic and sound.TimeLength and sound.TimeLength > 30 then
isMusic = true
end
if not isMusic and sound:IsDescendantOf(SoundService) then
isMusic = true
end
if isMusic then
if sound:GetAttribute("OriginalVolume") == nil then
sound:SetAttribute("OriginalVolume", sound.Volume)
end
sound.Volume = 0
sound:Stop()
if not sound:GetAttribute("VolumeLocked") then
sound:SetAttribute("VolumeLocked", true)
sound:GetPropertyChangedSignal("Volume"):Connect(function()
if sound.Volume > 0 then
sound.Volume = 0
end
end)
end
processedSounds[sound] = true
musicDetected = true
return true
end
return false
end
local function scanContainer(container, depth)
if depth > 10 then return end
for _, child in ipairs(container:GetChildren()) do
if processSound(child) then
musicDetected = true
end
if child:IsA("Folder") or child:IsA("Model") or child:IsA("BasePart") or child:IsA("ScreenGui") then
scanContainer(child, depth+1)
end
end
end
local function connectDescendantAdded(instance)
instance.DescendantAdded:Connect(function(child)
if processSound(child) then
musicDetected = true
end
end)
end
connectDescendantAdded(SoundService)
connectDescendantAdded(Workspace)
connectDescendantAdded(Lighting)
connectDescendantAdded(playerGui)
player.CharacterAdded:Connect(function(char)
char:WaitForChild("HumanoidRootPart", 5)
connectDescendantAdded(char)
scanContainer(char, 0)
end)
scanContainer(SoundService, 0)
scanContainer(Workspace, 0)
scanContainer(Lighting, 0)
scanContainer(playerGui, 0)
if player.Character then
scanContainer(player.Character, 0)
end
spawn(function()
while not musicDetected do
scanContainer(SoundService, 0)
scanContainer(Workspace, 0)
scanContainer(Lighting, 0)
scanContainer(playerGui, 0)
if player.Character then
scanContainer(player.Character, 0)
end
if musicDetected then
break
end
wait(2)
end
print("Recurring scans stopped (music detected)")
end)
print("Music auto-muter activated XD - background music will be silenced ☺👍")
warn("Note: Games with custom audio systems may require additional tweaks")
![[KEYLESS] Moondiety Script | 17+ supported Games](https://scriptblox.com/images/sb/0-1753093706828.png)


can this turn off music for everyone in the game?