this is a morph gui and it works with CharacterMesh but how do I make it work with (Part,UnionOperation and WedgePart) instead of just CharacterMesh
victim = script.Parent.Parent.Parent.Parent.Parent.Character
function kill()
v = victim:GetChildren()
for f = 1,#v do
if v[f].className == "CharacterMesh" then
v[f]:Remove()
end
end
p = script:GetChildren()
for i = 1,#p do
if p[i].className == "CharacterMesh" then
p[i]:clone().Parent = victim
end
end
end
script.Parent.MouseButton1Down:connect(kill)
