Run it
Copy the script and paste it into your executor.
:()
.Loaded:()
Players = :()
SoundService = :()
Workspace = :()
Lighting = :()
player = Players.LocalPlayer
player
Players.PlayerAdded:()
player = Players.LocalPlayer
playerGui = player:()
musicKeywords = {
, , , , , ,
, , , , , ,
}
processedSounds = {}
musicDetected =
(sound)
sound:()
processedSounds[sound]
name = sound.Name:()
parentName = (sound.Parent sound.Parent.Name ):()
isMusic =
_, keyword (musicKeywords)
name:(keyword) parentName:(keyword)
isMusic =
isMusic sound.Looped
isMusic =
isMusic sound.TimeLength sound.TimeLength >
isMusic =
isMusic sound:(SoundService)
isMusic =
isMusic
sound:() ==
sound:(, sound.Volume)
sound.Volume =
sound:()
sound:()
sound:(, )
sound:():(()
sound.Volume >
sound.Volume =
)
processedSounds[sound] =
musicDetected =
(container, depth)
depth >
_, child (container:())
(child)
musicDetected =
child:() child:() child:() child:()
(child, depth+)
(instance)
instance.DescendantAdded:((child)
(child)
musicDetected =
)
(SoundService)
(Workspace)
(Lighting)
(playerGui)
player.CharacterAdded:((char)
char:(, )
(char)
(char, )
)
(SoundService, )
(Workspace, )
(Lighting, )
(playerGui, )
player.Character
(player.Character, )
(()
musicDetected
(SoundService, )
(Workspace, )
(Lighting, )
(playerGui, )
player.Character
(player.Character, )
musicDetected
()
()
)
()
()This Roblox Lua script automatically detects and mutes background music in a game by scanning for sounds that match common music-related patterns. It helps players who prefer to listen to their own music or play in silence by suppressing in-game background tracks while keeping other sound effects (like jumping or gunshots) inactive. Good for: Playing your downloaded music you like (e.g., phonk, freestyle music, etc.) while still hearing npc screaming nearby. Probably recommended to auto execute. Key Features: 1. Automatic Music Detection - Uses keywords (e.g., "music," "bgm," "loop") to identify potential background tracks. - Detects looped sounds and long-duration audio (over 30 seconds). - Checks if sounds are under SoundService (a common location for game music). 2. Persistent Muting - Saves original volume before muting (allows for potential restoration). - Locks volume at 0 (prevents games from re-enabling music). - Stops playback of detected music immediately. 3. Comprehensive Scanning - Scans SoundService, Workspace, Lighting, and PlayerGui for existing sounds. - Continuously monitors for new sounds using `DescendantAdded`
Never paste your .ROBLOSECURITY cookie anywhere, and use an alt account with scripts.

Universal