When I equip the tool a sword welds to your right arm but when its unequipped it doesnt weld to the back of my torso it just disappears.Why?
player = script.Parent.Parent.Parent
c = player.Character
Sword = script.Parent.Sword
bin = script.Parent
function eq()
w1 = Instance.new("Weld", c)
w1.Part0 = w1.Parent["Right Arm"]
w1.Part1 = Sword
w1.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) *CFrame.new(0,1.2,2.9)
end
function uew()
w1.Part0 = w1.Parent["Torso"]
w1.Part1 = Sword
w1.C1 = CFrame.fromEulerAnglesXYZ(1.55,0,0) *CFrame.new(0,1.2,2.9)
end
bin.Equipped:connect(eq)
bin.Unequipped:connect(uew)
