function ScriptChildModified(l)local w=AnimNames[l.Name]if w then ConfigureAnimationSet(l.Name,w)end end script.ChildAdded:connect(ScriptChildModified)script.ChildRemoved:connect(ScriptChildModified)for l,w in pairs(AnimNames)do ConfigureAnimationSet(l,w)end

function ScriptChildModified(Child)
	local FileList = AnimNames[Child.Name]
	if FileList 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	
