-- Existance in this list signifies that it is an emote, the value indicates if it is a looping emote

EmoteNames = {
	Wave = false,
	Point = false,
	Dance = true,
	Dance2 = true,
	Dance3 = true,
	Laugh = false,
	Cheer = false
}

math.randomseed(tick())

function ConfigureAnimationSet(Name, FileList)
	if AnimTable[Name] then
		for i, Connection in pairs(AnimTable[Name].Connections) do
			Connection:disconnect()
		end
	end
	AnimTable[Name] = {}
	AnimTable[Name].Count = 0
	AnimTable[Name].TotalWeight = 0	
	AnimTable[Name].Connections = {}

	-- check for config values
	local Config = script:FindFirstChild(Name)
	if Config then