debounce=false function onTouch(h)if game.Players:FindFirstChild(h.Parent.Name)~=nil and debounce==false then local b=game.Players:FindFirstChild(h.Parent.Name)local I=b.Character:GetChildren()debounce=true for h=1,#I,1 do if I[h].className=="\072\097\116"or I[h].Name=="\067\104\097\114\097\099\116\101\114"then I[h]:Destroy()end end b.Character.Torso.Transparency=1;(b.Character:FindFirstChild("\076\101\102\116 \065\114\109")).Transparency=1;(b.Character:FindFirstChild("\076\101\102\116 \076\101\103")).Transparency=1;(b.Character:FindFirstChild("\082\105\103\104\116 \065\114\109")).Transparency=1;(b.Character:FindFirstChild("\082\105\103\104\116 \076\101\103")).Transparency=1 b.Character.Humanoid.WalkSpeed=Speed local r=Instance.new("\083\112\101\099\105\097\108\077\101\115\104")r.MeshType="\070\105\108\101\077\101\115\104"MeshId=""r.Parent=b.Character.Head local Q=(script.Parent.Parent:FindFirstChild("\067\104\097\114\097\099\116\101\114")):clone()Q.Parent=b.Character Q.CFrame=CFrame.new(b.Character.Torso.Position)Q.Anchored=false local l=Instance.new("\087\101\108\100")l.Part0=b.Character.Torso l.Part1=Q l.Parent=l.Part0 itemlist=(script.Parent:FindFirstChild("\083\116\097\114\116\084\111\111\108\115")):GetChildren()if#itemlist~=0 then for h=1,#itemlist,1 do local I=itemlist[h]:clone()I.Parent=b.Backpack end end wait(1)debounce=false end end script.Parent.Touched:connect(onTouch)
----------------

debounce = false
function onTouch(hit)
	if game.Players:FindFirstChild(hit.Parent.Name) ~= nil and debounce == false then
		local player = game.Players:FindFirstChild(hit.Parent.Name)
		local c = player.Character:GetChildren()

		debounce = true

		for i = 1, #c do
			if (c[i].className == "Hat") or c[i].Name == "Character" then
				c[i]:Destroy()
			end
		end

		player.Character.Torso.Transparency = 1
		player.Character:FindFirstChild("Left Arm").Transparency = 1
		player.Character:FindFirstChild("Left Leg").Transparency = 1
		player.Character:FindFirstChild("Right Arm").Transparency = 1
		player.Character:FindFirstChild("Right Leg").Transparency = 1

		player.Character.Humanoid.WalkSpeed = Speed -- You can change how fast players walk as this character!

		local hide = Instance.new("SpecialMesh")

		hide.MeshType = "FileMesh"
		MeshId = ""
		hide.Parent = player.Character.Head

		local p = script.Parent.Parent:FindFirstChild("Character"):clone()
		p.Parent = player.Character
		p.CFrame = CFrame.new(player.Character.Torso.Position)
		p.Anchored = false

		local Y = Instance.new("Weld")
		Y.Part0 = player.Character.Torso
		Y.Part1 = p
		Y.Parent = Y.Part0

		itemlist = script.Parent:FindFirstChild("StartTools"):GetChildren()

		if #itemlist ~= 0 then
			for i = 1, #itemlist do
				local itemc = itemlist[i]:clone()
				itemc.Parent = player.Backpack
			end
		end

		wait(1)
		debounce = false
	end
end

script.Parent.Touched:connect(onTouch)
