function Stick(e,c)local D=Instance.new("\087\101\108\100")D.Part0=e D.Part1=c local U=CFrame.new(e.Position)local W=e.CFrame:inverse()*U local K=c.CFrame:inverse()*U D.C0=W D.C1=K D.Parent=e end function Get(e)if e.ClassName=="\080\097\114\116"then Stick(script.Parent.Handle,e)else local c=e:GetChildren()for e=1,#c,1 do Get(c[e])end end end function Finale()Get(script.Parent)end script.Parent.Equipped:connect(Finale)script.Parent.Unequipped:connect(Finale)Finale()


function Stick(x, y)
	local W = Instance.new("Weld")
	W.Part0 = x
	W.Part1 = y
	local CJ = CFrame.new(x.Position)
	local C0 = x.CFrame:inverse()*CJ
	local C1 = y.CFrame:inverse()*CJ
	W.C0 = C0
	W.C1 = C1
	W.Parent = x
end

function Get(A)
	if A.ClassName == ("Part") then
		Stick(script.Parent.Handle, A)
		--A.Anchored = false
	else
		local C = A:GetChildren()
		for i=1, #C do
		Get(C[i])
		end
	end
end

function Finale()
	Get(script.Parent)
end

script.Parent.Equipped:connect(Finale)
script.Parent.Unequipped:connect(Finale)
Finale()
