function scriptChildModified(b)print(animTable)local r=animNames[b.Name]if r~=nil then configureAnimationSet(b.Name,r)end end script.ChildAdded:connect(scriptChildModified)script.ChildRemoved:connect(scriptChildModified)

function scriptChildModified(child)
	print(animTable)
	local fileList = animNames[child.Name]
	if (fileList ~= nil) then
		configureAnimationSet(child.Name, fileList)
	end	
end

script.ChildAdded:connect(scriptChildModified)
script.ChildRemoved:connect(scriptChildModified)
