Is there such a thing of a change parent function? So, if part changed parent it would act a function.
http://wiki.roblox.com/index.php?title=API:Class/Instance/AncestryChanged
Fires when the Parent property of the object or one of its ancestors is changed.