PcoWSkbVqDnWTu_dm2ix
We use cookies on this site to enhance your user experience

CollectionService.ItemRemoved1

CollectionService.ItemRemoved1

Oct 01 2018, 2:47 AM PST

game:GetService("CollectionService").ItemRemoved:Connect(function(instance)
  print(instance.ClassName .. " removed from the DataModel")
end)

Instance.new("Part", workspace):Destroy() --// Doesn't fire because CollectionService ignores Parts
Instance.new("Dialog", Workspace):Destroy() --> Dialog removed from the DataModel