-- Ember Rage LMS Replacer (workspace.Themes) local URL = "https://files.catbox.moe/7i5pjm.mp3" local FOLDER = "GameSounds" local FILE = "EmberRage.mp3" local Themes = workspace:WaitForChild("Themes") local PlayersFolder = workspace:WaitForChild("Players") local Survivors = PlayersFolder:WaitForChild("Survivors") local Killers = PlayersFolder:WaitForChild("Killers") -- request compatibility local function httpRequest(url) if syn and syn.request then return syn.request({Url=url,Method="GET"}) elseif http and http.request then return http.request({Url=url,Method="GET"}) elseif request then return request({Url=url,Method="GET"}) end end -- check exact matchups local function correctMatchup() local killer1 = Killers:FindFirstChild("1x1x1x1") local killer2 = Killers:FindFirstChild("c00lkidd") local killer3 = Killers:FindFirstChild("Sixer") local survivor1 = Survivors:FindFirstChild("Shedletsky") local survivor2 = Survivors:FindFirstChild("007n7") local survivor3 = Survivors:FindFirstChild("Noob") if killer1 and survivor1 then return true end if killer2 and survivor2 then return true end if killer3 and survivor3 then return true end return false end -- download the mp3 local response = httpRequest(URL) if not response or not response.Body then warn("Audio download failed") return end -- create folder if not isfolder(FOLDER) then makefolder(FOLDER) end local path = FOLDER.."/"..FILE writefile(path,response.Body) -- convert to executor asset local asset if getcustomasset then asset = getcustomasset(path) elseif getsynasset then asset = getsynasset(path) else warn("Executor does not support custom assets") return end -- function to apply music local function apply(sound) if sound:IsA("Sound") and sound.Name == "LastSurvivor" then if correctMatchup() then sound.SoundId = asset sound.Volume = 0.5 sound.Looped = false task.wait() sound:Play() end end end -- apply immediately if it already exists local existing = Themes:FindFirstChild("LastSurvivor") if existing then apply(existing) end -- watch for LMS sound being recreated Themes.ChildAdded:Connect(function(child) if child.Name == "LastSurvivor" then task.wait(0.1) apply(child) end end) print("Ember Rage LMS changer running")