if hit.Parent:findFirstChild("\072\117\109\097\110\111\105\100")~=nil then local v="\076\101\102\116\076\111\119\101\114\076\101\103"local Y="\076\101\102\116\076\111\119\101\114\076\101\103\050"if hit.Parent:findFirstChild(Y)==nil then local y=script.Parent.Parent[Y]:clone()y.Parent=hit.Parent local w=y:GetChildren()for Y=1,#w,1 do if w[Y].className=="\085\110\105\111\110\079\112\101\114\097\116\105\111\110"or w[Y].className=="\080\097\114\116"or w[Y].className=="\087\101\100\103\101\080\097\114\116"or w[Y].className=="\077\101\115\104\080\097\114\116"then local v=Instance.new("\087\101\108\100")v.Part0=y.Middle v.Part1=w[Y]local I=CFrame.new(y.Middle.Position)local n=y.Middle.CFrame:inverse()*I local z=w[Y].CFrame:inverse()*I v.C0=n v.C1=z v.Parent=y.Middle end local I=Instance.new("\087\101\108\100")I.Part0=hit.Parent[v]I.Part1=y.Middle I.C0=CFrame.new(0,0,0)I.Parent=I.Part0 end local I=y:GetChildren()for v=1,#I,1 do I[v].Anchored=false I[v].CanCollide=false end end end
----
----
if hit.Parent:findFirstChild("Humanoid") ~= nil then
	local target1 = "LeftLowerLeg"
	local target2 = "LeftLowerLeg2"
	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
