script.Parent.ChildRemoved:connect(function(t)if t:IsA("\087\101\108\100")then if t.Part1.Name=="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then player=game.Players:GetPlayerFromCharacter(t.Part1.Parent)for t,y in pairs(t.Part1.Parent:GetChildren())do if y:IsA("\080\097\114\116")then y.Transparency=0 if y.Name=="\072\117\109\097\110\111\105\100\082\111\111\116\080\097\114\116"then y.Transparency=1 y.CanCollide=true end end end end end end)
--Show Avatar
script.Parent.ChildRemoved:connect(function(child)
	if child:IsA("Weld") then
		if child.Part1.Name == "HumanoidRootPart" then
			player = game.Players:GetPlayerFromCharacter(child.Part1.Parent)
			for i, v in pairs(child.Part1.Parent:GetChildren()) do
				if v:IsA("Part") then
					v.Transparency = 0
					if v.Name == "HumanoidRootPart" then
						v.Transparency = 1
						v.CanCollide = true
					end
				end
			end
		end
	end
end)
