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