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 10 years ago
local larm = plr.Character:FindFirstChild("Left Arm")
local rarm = plr.Character:FindFirstChild("Right Arm")
local w1 = Instance.new("Weld")
w1.Parent = t.Handle2
w1.Part0 = w1.Parent
w1.Part1 = larm
w1.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
10 years ago

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

Ad

Answer this question