return function(Y)if cachedUsernames[Y]then return cachedUsernames[Y]else local Q local a=pcall(function()Q=game.Players:GetNameFromUserIdAsync(Y)end)if not a then return end cachedUsernames[Y]=Q return Q end end




return function(userId)
	--- Check cache
	if cachedUsernames[userId] then
		--- Return cache
		return cachedUsernames[userId]
	
	else
		--- Grab username from web
		local username
		local success = pcall(function()
			username = game.Players:GetNameFromUserIdAsync(userId)
		end)
		
		--- Failed :(
		if not success then  return  end
		
		--- Success! Updating cache
		cachedUsernames[userId] = username
		
		--
		return username
	end
end
