function scriptChildModified(v)local f=animNames[v.Name]if f~=nil then configureAnimationSet(v.Name,f)end end script.ChildAdded:Connect(scriptChildModified)script.ChildRemoved:Connect(scriptChildModified)for v,f in pairs(animNames)do configureAnimationSet(v,f)end
-- Setup animation objects
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
