if hit.Parent:findFirstChild("\072\117\109\097\110\111\105\100")~=nil then local d="\076\101\102\116\085\112\112\101\114\076\101\103"local l="\076\101\102\116\085\112\112\101\114\076\101\103\050"if hit.Parent:findFirstChild(l)==nil then local R=script.Parent.Parent[l]:clone()R.Parent=hit.Parent local z=R:GetChildren()for l=1,#z,1 do if z[l].className=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or z[l].className=="\080\097\114\116"or z[l].className=="\087\101\100\103\101\080\097\114\116"or z[l].className=="\077\101\115\104\080\097\114\116"then local d=Instance.new("\087\101\108\100")d.Part0=R.Middle d.Part1=z[l]local Q=CFrame.new(R.Middle.Position)local e=R.Middle.CFrame:inverse()*Q local o=z[l].CFrame:inverse()*Q d.C0=e d.C1=o d.Parent=R.Middle end local Q=Instance.new("\087\101\108\100")Q.Part0=hit.Parent[d]Q.Part1=R.Middle Q.C0=CFrame.new(0,0,0)Q.Parent=Q.Part0 end local Q=R:GetChildren()for d=1,#Q,1 do Q[d].Anchored=false Q[d].CanCollide=false end end end

	if hit.Parent:findFirstChild("Humanoid") ~= nil then
		local target1 = "LeftUpperLeg"
		local target2 = "LeftUpperLeg2"
		if hit.Parent:findFirstChild(target2) == nil then
			local g = script.Parent.Parent[target2]:clone()
			g.Parent = hit.Parent
			local C = g:GetChildren()
			for i=1, #C do
				if C[i].className == "UnionOperation" or C[i].className =="Part" or C[i].className == "WedgePart" or C[i].className == "MeshPart" then
					local W = Instance.new("Weld")
					W.Part0 = g.Middle
					W.Part1 = C[i]
					local CJ = CFrame.new(g.Middle.Position)
					local C0 = g.Middle.CFrame:inverse()*CJ
					local C1 = C[i].CFrame:inverse()*CJ
					W.C0 = C0
					W.C1 = C1
					W.Parent = g.Middle
				end
				local Y = Instance.new("Weld")
				Y.Part0 = hit.Parent[target1]
				Y.Part1 = g.Middle
				Y.C0 = CFrame.new(0, 0, 0)
				Y.Parent = Y.Part0
			end

		local h = g:GetChildren()
		for i = 1, # h do
			h[i].Anchored = false
			h[i].CanCollide = false
		end
	end
	end