Is it possible prevent any script from calling for example :Destroy() (or :Clone()) on an instance, such as a Part, globally?
Nope.
You can limit the ability to use :Clone() by setting Archivable to false, however a script could just set archivable back to true. Additionally, it may prevent the part from being saved.
Is there actually no way? like maybe using meta tables or anything like that
You can’t set the metatable of a Roblox object, so no.
I guess you could technically try and prevent the deleting of things by adding a .Destroying listening to each part, then just clone the part and put it in the place of the original, but that would destroy all connections to it and I’m not sure how performant it would be
2 Likes
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.