function scriptChildModified(Q)local m=animNames[Q.Name]if m~=nil then configureAnimationSet(Q.Name,m)end end script.ChildAdded:connect(scriptChildModified)script.ChildRemoved:connect(scriptChildModified)

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

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