I am making a plugin that will allow me to set properties of a part when they are placed automatically(ex. size, transparency, etc). However I don’t know how I can detect when a part is added.
workspace.DescedantAdded:Connect(function(child) if child:IsA('Part') then -- do code end end)
You can also create a part, set its properties and put it to ReplicatedStorage.
Then, you can easily clone this part without worrying about changing the properties.
Then you can simply use game.DescendantAdded. You have PluginSecurity so there shouldnt be any issues with identity errors,
*Also, make sure this only runs in edit mode, otherwise you’re gonna be checking every single object that gets added during testing mode.