Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Why is this weld not going back in place after I re-equip it?

Asked by 11 years ago
1local larm = plr.Character:FindFirstChild("Left Arm")
2local rarm = plr.Character:FindFirstChild("Right Arm")
3local w1 = Instance.new("Weld")
4w1.Parent = t.Handle2
5w1.Part0 = w1.Parent
6w1.Part1 = larm
7w1.C1 = CFrame.Angles(70, 0, -45) * CFrame.new(-1, 0, -2)

This is in a .Equipped function, it welds when I first equip it, but doesn't when i re-equip it. Everything else after the welding of the arm works fine. Side note: t is a variable for the tool that this script is inside of.

1 answer

Log in to vote
0
Answered by
Kozero 120
11 years ago

Copy and paste your connection line and Swap the event Equipped for Unequipped.

Ad

Answer this question