function scriptChildModified(N)local X=animNames[N.Name]if X~=nil then configureAnimationSet(N.Name,X)end end script.ChildAdded:Connect(scriptChildModified)script.ChildRemoved:Connect(scriptChildModified)for N,X in pairs(animNames)do configureAnimationSet(N,X)end

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)


for name, fileList in pairs(animNames) do 
	configureAnimationSet(name, fileList)
end	
