function EmoteManager.setup(y,w,z)y:updateEmotes(w,z)if not y.playerOwnedEmotes[w.UserId]then y:getOwnedEmotesAsync(w,function(o)y.playerOwnedEmotes[w.UserId]=o y:updateEmotes(w,z)y.updatedPlayerEmotes:Fire(w.UserId)end)end end
--[[
	Sets up event listeners and modifies emote configurations for the user
	given

	Parameters:
	player - The player to set up for
	humanoidDescription - The HumanoidDecription of the user to set up for
]]
function EmoteManager:setup(player, humanoidDescription)
	-- Send default emotes to the player
	self:updateEmotes(player, humanoidDescription)

	if not self.playerOwnedEmotes[player.UserId] then
		self:getOwnedEmotesAsync(player, function(ownedEmotes)
			-- Send paid emotes that the player owns to the player
			self.playerOwnedEmotes[player.UserId] = ownedEmotes
			self:updateEmotes(player, humanoidDescription)
			self.updatedPlayerEmotes:Fire(player.UserId)
		end)
	end
end
