nathen35 is letting me borrow his scripting helpers account to ask this question.
I am making a lantern tool. Why isnt this script working?
function onEquipped() local w1 = Instance.new("Weld") w1.Parent = script.Parent.Handle w1.Part0 = w1.Parent w1.Part1 = script.Parent.Brick w1.C1 = CFrame.Angles(0, 0, 0) * CFrame.new(0, 0, 0) end script.Parent.Equipped:connect(onEquipped) script.Parent.Unequipped:connect(onUnequipped)
All it does is make me get stuck in mid-air, and the tool Spawns not in my hands.