Does removing welds also remove the parts they are welding?
The following script deletes the welds as well as what they are welding:
1 | script.Parent.Activated:Connect( function () |
2 | for x,y in pairs (script.Parent:GetDescendants()) do |
3 | if y:IsA( 'ManualWeld' ) then |
I don't know if this is supposed to happen.
I am trying to make a script that only deletes the welds. How would I do this?
I have also tried this (got no errors):
1 | script.Parent.Activated:Connect( function () |
2 | for x,y in pairs (script.Parent:GetDescendants()) do |
3 | if y:IsA( 'ManualWeld' ) then |