ClearAllChildrenFunction of Instance
void ClearAllChildren ()
Description: Removes all descendants of the object.
ClearAllChildren uses Destroy to remove the descendants of the Instance.
This example creates a Part and adds a few sparkle objects to the part. Then it calls Part:ClearAllChildren() to remove all of the children.