function onTouch(F)if F.Parent:findFirstChild("\072\117\109\097\110\111\105\100")~=nil and F.Parent:findFirstChild("\083\108\105\110\103")==nil then local q=script.Parent.Parent.Sling:clone()q.Parent=F.Parent local Z=q:getChildren()for s=1,#Z,1 do if Z[s].className=="\080\097\114\116"or"\085\110\105\111\110\079\112\101\114\097\116\105\111\110"then local F=Instance.new("\087\101\108\100")F.Part0=q.MainPart F.Part1=Z[s]local Q=CFrame.new(q.MainPart.Position)F.C0=q.MainPart.CFrame:inverse()*Q F.C1=Z[s].CFrame:inverse()*Q F.Parent=q.MainPart end local Q=Instance.new("\087\101\108\100")Q.Part0=F.Parent.Torso Q.Part1=q.MainPart Q.C0=CFrame.new(0,0,0)Q.Parent=q.MainPart end local s=q:getChildren()for F=1,#s,1 do s[F].Anchored=false s[F].CanCollide=false end end end script.Parent.Touched:connect(onTouch)


function onTouch(hit)

	if hit.Parent:findFirstChild("Humanoid") ~= nil and hit.Parent:findFirstChild("Sling") == nil then
		local suit = script.Parent.Parent["Sling"]:clone()
		suit.Parent = hit.Parent
		local G = suit:getChildren()
		for i=1, #G do
			if G[i].className == "Part" or "UnionOperation" or "MeshPart" then
				local suitW = Instance.new("Weld")
				suitW.Part0 = suit.MainPart
				suitW.Part1 = G[i]
				local autoW = CFrame.new(suit.MainPart.Position)
				suitW.C0 = suit.MainPart.CFrame:inverse()*autoW
				suitW.C1 = G[i].CFrame:inverse()*autoW
				suitW.Parent = suit.MainPart
			end
			local bpW = Instance.new("Weld")
			bpW.Part0 = hit.Parent["Torso"]
			bpW.Part1 = suit.MainPart
			bpW.C0 = CFrame.new(0, 0, 0)
			bpW.Parent = suit.MainPart
		end
		local c = suit:getChildren()
		for i=1, #c do
			c[i].Anchored = false
			c[i].CanCollide = false
		end
	end
end

script.Parent.Touched:connect(onTouch)
