I want to delete this thing PartZ whenever it is inserted into the workspace. It is for anti music exploit.
Eather, like DynoSeo said, use FE, it will help you loads. If you don't want to just do a child added function.
workspace.ChildAdded:connect(function(Child) if Child.Name == "PartZ" then Child:remove() end end)