function onTouch(hit)
local Morph = game.ReplicatedStorage.Morphs:findFirstChild("Robloxian 2.0")
BodyParts = hit.Parent:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "Humanoid") then
end
wait(0.1)
end
BodyParts = hit.Parent:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "CharacterMesh") or (b.className == "Hat") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
b:Remove()
end
if (b.className == "Part") then
if (b.Name == "Head") then
if (b:findFirstChild("Mesh") ~= nil) then
b.Mesh:Remove()
end
end
end
wait(0.1)
end
BodyParts = Morph:GetChildren()
for i,b in pairs(BodyParts) do
if (b.className == "CharacterMesh") or (b.className == "Shirt") or (b.className == "Pants") or (b.className == "ShirtGraphic") then
b:Clone().Parent = hit.Parent
end
if (b.className == "Part") then
if (b.Name == "Head") then
if (b:findFirstChild("Mesh") ~= nil) then
b.Mesh:Clone().Parent = hit.Parent.Head
end
end
end
wait(0.1)
end
end
script.Parent.Touched:connect(onTouch)
Edit this to your needs, and If you have any questions, PM me or reply to this answer.