AudioPlayer.preloadAudio=function(A)local J={}for A,X in pairs(A)do local o=Instance.new("\083\111\117\110\100")o.SoundId="\114\098\120\097\115\115\101\116\105\100\058\047\047"..X o.Name=A o.Parent=SoundService table.insert(J,o)end local X,o=pcall(function()ContentProvider:PreloadAsync(J)end)end

AudioPlayer.preloadAudio = function(assetArray)
	local audioAssets = {}
 
	-- Add new "Sound" assets to "audioAssets" array
	for name, audioID in pairs(assetArray) do
		local audioInstance = Instance.new("Sound")
		audioInstance.SoundId = "rbxassetid://" .. audioID
		audioInstance.Name = name
		audioInstance.Parent = SoundService
		
		table.insert(audioAssets, audioInstance)
	end
 
	local success, assets = pcall(function()
		ContentProvider:PreloadAsync(audioAssets)
	end)
end
 