Tool=script.Parent local Z=nil local e=nil local t={}function Equip(U)wait(.01)Z={Tool.Parent:FindFirstChild("\076\101\102\116 \065\114\109"),Tool.Parent:FindFirstChild("\082\105\103\104\116 \065\114\109")}e=Tool.Parent:FindFirstChild("\084\111\114\115\111")if Z~=nil and e~=nil then local U={e:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114");e:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")}if U~=nil then local J=true if J then J=false U[1].Part1=nil U[2].Part1=nil local f=Instance.new("\087\101\108\100")f.Part0=e f.Parent=e f.Part1=Z[1]f.C1=CFrame.new(1.5,.4,.4)*CFrame.fromEulerAnglesXYZ(math.rad(-90),0,math.rad(0))t[1]=f local B=Instance.new("\087\101\108\100")B.Part0=e B.Parent=e B.Part1=Z[2]B.C1=CFrame.new(-1.5,.3,.4)*CFrame.fromEulerAnglesXYZ(math.rad(-90),math.rad(0),0)t[2]=B end else print("\115\104")end else print("\097\114\109\115")end end function Unequip(U)if Z~=nil and e~=nil then local U={e:FindFirstChild("\076\101\102\116 \083\104\111\117\108\100\101\114"),e:FindFirstChild("\082\105\103\104\116 \083\104\111\117\108\100\101\114")}if U~=nil then local e=true if e then e=false U[1].Part1=Z[1]U[2].Part1=Z[2]t[1].Parent=nil t[2].Parent=nil end else print("\115\104")end else print("\097\114\109\115")end end Tool.Equipped:connect(Equip)Tool.Unequipped:connect(Unequip)
------------------------------------------------------WeldArm---------------------------------------------------------------
Tool = script.Parent
local arms = nil
local torso = nil
local welds = {}

function Equip(mouse)
	wait(0.01)
	arms = { Tool.Parent:FindFirstChild("Left Arm"), Tool.Parent:FindFirstChild("Right Arm") }
	torso = Tool.Parent:FindFirstChild("Torso")
	if arms ~= nil and torso ~= nil then
		local sh = { torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder") }
		if sh ~= nil then
			local yes = true
			if yes then
				yes = false
				sh[1].Part1 = nil
				sh[2].Part1 = nil
				local weld1 = Instance.new("Weld")
				weld1.Part0 = torso
				weld1.Parent = torso
				weld1.Part1 = arms[1]
				weld1.C1 = CFrame.new(1.5, 0.4, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(-90), 0, math.rad(0))
				welds[1] = weld1
				local weld2 = Instance.new("Weld")
				weld2.Part0 = torso
				weld2.Parent = torso
				weld2.Part1 = arms[2]
				weld2.C1 = CFrame.new(-1.5, 0.3, 0.4) * CFrame.fromEulerAnglesXYZ(math.rad(-90), math.rad(0), 0)
				welds[2] = weld2
			end
		else
			print("sh")
		end
	else
		print("arms")
	end
end

function Unequip(mouse)
	if arms ~= nil and torso ~= nil then
		local sh = { torso:FindFirstChild("Left Shoulder"), torso:FindFirstChild("Right Shoulder") }
		if sh ~= nil then
			local yes = true
			if yes then
				yes = false
				sh[1].Part1 = arms[1]
				sh[2].Part1 = arms[2]
				welds[1].Parent = nil
				welds[2].Parent = nil
			end
		else
			print("sh")
		end
	else
		print("arms")
	end
end
Tool.Equipped:connect(Equip)
Tool.Unequipped:connect(Unequip)
