Weld deleting parts associated when using weld:Destroy()

i’m creating a weld using Instance.new(“Weld”, weld parent), but when i try to delete the weld, it deletes the Part1 object, this is my code

local w = Instance.new("Weld", v.RightHand)
w.Part0 = v.RightHand
w.Part1 = workspace.JumpscareCam
w.C0 = CFrame.Angles(0, math.rad(-180), 0)
w.C1 = CFrame.Angles(math.rad(-90), 0, 0) * CFrame.new(-.5, 1, -1)
--my code
workspace.JumpscareCam.CFrame = workspace.JumpscareCamCFrame.CFrame

jumpscarecam is the object i’m using to change the camera when the jumpscare event is fired, i’m not gonna enter in much details about this, but when i destroy the weld it also destroys the jumpscarecam

I don’t think it deletes it. I think it just gets unwelded, which results in making the part (assuming cancollide is off), not collidable and not anchored. We all know what happens with those parts. They have a meet n greet with the void.

(just anchor the part after unwelding it :+1: )

1 Like

it worked

i’m feeling dumb now lol

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.