function RxInstanceUtils.observeAncestry(P)local x=Rx.start(function()return P,P.Parent end)return x(Rx.fromSignal(P.AncestryChanged))end

function RxInstanceUtils.observeAncestry(instance)
	local startWithParent = Rx.start(function()
		return instance, instance.Parent
	end)

	return startWithParent(Rx.fromSignal(instance.AncestryChanged))
end
