task.spawn(function()local a=game:GetService("\076\111\099\097\108\105\122\097\116\105\111\110\083\101\114\118\105\099\101")local z,d=pcall(function()return a:GetTranslatorForPlayerAsync(localPlayer)end)local function m()local a=IconController.getIcons()for a,z in pairs(a)do z:_updateAll()end end if z then(d:GetPropertyChangedSignal("\076\111\099\097\108\101\073\100")):Connect(m)task.delay(1,m)task.delay(10,m)end end)return IconController

task.spawn(function()
	local LocalizationService = game:GetService("LocalizationService")
	local success, translator = pcall(function() return LocalizationService:GetTranslatorForPlayerAsync(localPlayer) end)
	local function updateAllIcons()
		local icons = IconController.getIcons()
		for _, icon in pairs(icons) do
			icon:_updateAll()
		end
	end
	if success then
		translator:GetPropertyChangedSignal("LocaleId"):Connect(updateAllIcons)
		task.delay(1, updateAllIcons)
		task.delay(10, updateAllIcons)
	end
end)


return IconController
