Universal Script πŸ“Œ
5.9k Views
38 Executions

Forsaken Universal MusicChanger

Universal Script πŸ“Œ
zxrealm
zxrealmPublished 10
1 year ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

Replace sounds from the game. You can use if you want...

View Raw
local CustomSoundLobby = instance.new("Sound")
local FolderCh = instance.new("Folder")
CustomSoundLobby.SoundId = "rbxassetid://6695430066"
CustomSoundLobby.Name = "Lobby"
FolderCh.parent = game.ReplicatedStorage.Assets
FolderCh.name = "CustomSoundsManager"
--6924735395
local replacements = {
    ["Lobby"] = FolderCh.CustomSoundLobby,
}

-- Replace sound ID if needed
local function tryReplaceSound(sound)
    if sound:IsA("Sound") and replacements[sound.SoundId] then
        sound.SoundId = replacements[sound.SoundId]
    end
end

-- Replace existing sounds
for _, descendant in ipairs(workspace:GetDescendants()) do
    tryReplaceSound(descendant)
end

-- Monitor new sounds added
workspace.DescendantAdded:Connect(function(descendant)
    task.wait() -- short delay to ensure SoundId is set
    tryReplaceSound(descendant)
end)


Comments

2
Log in to join the conversation. Login
vicosanch's profile picture
vicosanch1 year ago

Idk but doesn’t work

1
vicosanch's profile picture
vicosanch1 year ago

Cool

1