I am trying to make a morph that changes the character into a humanoid. I clone the shirt into the player using this script:
local debounce = false
script.Parent.Touched:Connect(function(hit)
local humanoid = hit.Parent:FindFirstChild("Humanoid")
if humanoid then
local character = hit.Parent
if debounce == false then
debounce = not debounce
if character:FindFirstChildWhichIsA("Shirt") or character:FindFirstChildWhichIsA("Pants") then
character.Shirt:Destroy()
character.Pants:Destroy()
local s = script.Shirt:Clone()
local p = script.Pants:Clone()
s.Parent = character
p.Parent = character
else
local s = script.Shirt:Clone()
local p = script.Pants:Clone()
s.Parent = character
p.Parent = character
end
end
end
wait(2)
debounce = false
end)
My issue is that the shirt and pants are not visible on the character. I tried manually adding a shirt in, and my issue still stayed the same. My shirt and pants are located in the character.
I am very sure that the issue is due to the fact that my morph just welds to the character, but I have no other way of changing the appearance of the character while adding custom additions such as shoes to it.
Your best option would be to use a lot of surface guis, if you want to make the clothes render I think you would have to fully replace the limbs instead of just welding the limbs to the character.
Also, if you’re using MeshParts then you can use TextureId and this will be much more versatile.
Make the custom character from blender and add textures with it. That’s probably the best solution you will come across when you’re creating a custom character shirts/pants don’t work anymore as it’s no longer a default character, it’s your own.