function Stick(D,n)local X=Instance.new("\087\101\108\100")X.Part0=D X.Part1=n local b=CFrame.new(D.Position)local J=D.CFrame:inverse()*b local r=n.CFrame:inverse()*b X.C0=J X.C1=r X.Parent=D end function Get(D)if D.ClassName=="\080\097\114\116"then Stick(script.Parent.Handle,D)else local n=D:GetChildren()for D=1,#n,1 do Get(n[D])end end end function Finale()Get(script.Parent)end script.Parent.Equipped:connect(Finale)script.Parent.Unequipped:connect(Finale)Finale()
--DO NOT DELETE, THIS WILL BREAK THE GUN

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()
