View difference between Paste ID: i65YGbkP and U7h39eSD
SHOW: | | - or go back to the newest paste.
1
game.Players.PlayerAdded:connect(function(p)
2
	p.CharacterAdded:connect(function(c)
3
		local morph = game.ServerStorage.Morph:Clone()
4-
		for i, v in pairs(c:GetChildren()) do
4+
			for i,v in pairs(c:GetChildren()) do 
5-
		if v:IsA("BasePart") then
5+
			v.Parent = morph -- Not sure what you mean by this :P
6-
			v:Destroy()
6+
				if v:IsA'BasePart' or v:IsA'Hat' or v:IsA'Humanoid' then
7-
		end
7+
					wait()
8-
		v.Parent = morph
8+
					v.Locked = false
9-
		if v:IsA("Hat") then
9+
					v:Destroy() --ded so ded
10-
			v:Destroy()
10+
				end
11-
		end
11+
			end
12-
		if v:IsA("Humanoid") then
12+
13-
			v:Destroy()
13+
14-
		end
14+
15-
		end
15+
--morph is character.rbxm