---will call func when instance's parent is changed to nil

function UTIL.DefineDestructor(instance,func)
	instance.AncestryChanged:connect(function (child,parent)
		if child == instance and not parent then
			func()
		end
	end)
end
