if hand==nil then print("\072\097\110\100\108\101 \110\111\116 \070\111\117\110\100\033 \084\114\121 \097\103\097\105\110\033")script.Disabled=true script:Remove()end local m=script.WeldScript:Clone()m.Disabled=false for m=1,#c,1 do if c[m].className=="\080\097\114\116"and(c[m]~=hand and c[m].Anchored==false)then table.insert(parts,c[m])end end for o=1,#parts,1 do local c=hand.CFrame:inverse()local h=parts[o].CFrame:inverse()local n=Instance.new("\067\070\114\097\109\101\086\097\108\117\101")n.Name=parts[o].Name.."\067\048"n.Value=c n.Parent=m local p=Instance.new("\067\070\114\097\109\101\086\097\108\117\101")p.Name=parts[o].Name.."\067\049"p.Value=h p.Parent=m local i=Instance.new("\087\101\108\100")i.Parent=hand i.Part0=hand i.Part1=parts[o]i.C0=c i.C1=h end m.Parent=tool script:Remove()
--[[ -- Remove the double brackets around this part to rename and unanchor everything --

for i = 1, #c do
	if c[i].className == "Part" then
		c[i].Anchored = false;
		if c[i].Name ~= "Handle" then
			c[i].Name = "H" .. a;
			a = a + 1;
		end
	end
end

]]

if hand == nil then
	print("Handle not Found! Try again!")
	script.Disabled = true
	script:Remove()
end

local s = script.WeldScript:Clone()
s.Disabled = false

for i = 1, #c do
	if c[i].className == "Part" and c[i] ~= hand and c[i].Anchored == false then
		table.insert(parts, c[i])
	end
end

for i = 1, #parts do
	local c0 = hand.CFrame:inverse()
	local c1 = parts[i].CFrame:inverse()
	local val1 = Instance.new("CFrameValue")
	val1.Name = parts[i].Name .. "C0"
	val1.Value = c0
	val1.Parent = s
	local val2 = Instance.new("CFrameValue")
	val2.Name = parts[i].Name .. "C1"
	val2.Value = c1
	val2.Parent = s
	local w = Instance.new("Weld")
	w.Parent = hand
	w.Part0 = hand
	w.Part1 = parts[i]
	w.C0 = c0
	w.C1 = c1
end

s.Parent = tool

script:Remove()
