How can I detect when a part is added anywhere in the workspace

Before you say workspace.ChildAdded I know that. But I want to tell when a part is added anywhere in the workspace. So for example, if there’s a model in the workspace I want to know if a part is added in there.

If you’re wondering why I’m making a plugin that will anchor a part whenever someone adds one into the workspace. The problem is if someone adds a part into a model inside the workspace it won’t detect that part added.

1 Like

https://developer.roblox.com/en-us/api-reference/event/Instance/DescendantAdded
workspace.DescendantAdded

Workspace.DescendantAdded:Connect(function(descendant)
	print(descendant)
end)
4 Likes