I am trying to make a body invisible except the lowertorso and the legs. I tried using StarterCharacter as a method but right now I need it custom for any character. Help?
COMMUNITY QUESTION
How do I make a characters body parts invisible but not all?
1 answer
Loop through each Part, and check if they are named after the LowerTorso or legs
for i,v in pairs(character:GetChildren()) do
if v:IsA("BasePart") then
if v.Name ~= "LowerTorso" and not string.match(v.Name, "Leg") and not string.match(v.Name, "Foot") then
v.Transparency = 1
end
end
end
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
Have you tried setting the transparency to 1 while looping through the character
Except the part name is LowerTorso, RightLeg and Leftleg (R6)