Part not turning invisible when asked

I know I am doing it right but why is it not turning the part being asked transparency 1?
Yes the head is under the models
21febad266992e50b6e0b6ce3f961048

game.Players.PlayerAdded:Connect(function(plr)
    plr.CharacterAdded:Connect(function(char)
        for i,v in pairs(char.Outfit:GetDescendants()) do
            if v:IsA('Model') then
                if v.Parent:FindFirstChild("Head")  then
                    v.Parent:FindFirstChild("Head").Transparency = 1                
                end
            end
        end        
    end)
end)```
1 Like

A few unanswered questions:
-Is this a Local Script or a Server Script?
-Where is this script located?
-Are you receiving any errors in the output?
-Is ‘Head’ a Part in one of the models in the folder, or the main Head part for the character?

Is Head a part or a model ? There isn’t any property like Transparency existing for model.

As you both can I see I said the head is apart of the model …

1 Like

maybe “Head” is not a part? in the model? try using print statements

i suppose if that was the issue the OP should’ve added an error note.

there would be no error as
image they are checking if it exists or not and in my case it doesnt so it wont cause any error.

soo what if “Head” is not a part?


if “Head” is not a part the if statement would be false and as OP did not add any else in the statement then nothing would happen literally.

no? :FindFirstChild("Head") can find any instance named “Head”.

no. you need to add the 2nd argument and then it can find ANY Instance in the provided parent named the first argument for this case “Head”

what is the 2nd argument then?

Instance | Roblox Creator Documentation was too lazy check it out.

yeah rude because you think so. you only point the devforum rules when you’re salty and you dont know what to respond. first, you should not reply if you dont know anything about the thread’s issue. second, you’re not a moderator. you are acting smart but your brain is like firefire graphics in a 1990 nokia phone.

so you have been seeing me for a long time? also that is not pretty mature of you to randomly get mad at someone for correcting you. pretty sure your just a 9 year old who just got into the devforum and thinking your smart. go back to the 4th grade. and you set your location to hell because you know your going there. and oh about me is “I give honest opinions” that just proves your a hot head.

that’s why you should stop talking and read the entire replies in your heart. if you dont know what FindFirstChild is for, it’s to find an instance with the specified name in the #1 argument. the parent is the instance you called on, and the second argument is a bool which digs into the descendants if im not wrong. i’m not depressed and i bet you’re the one who is depressed and chose to be pathetic. i dont want to get into your dm’s because i dont want to argue any further.

I dont want to argue any further as well but your pathetic comments are making me reply so either you stop with your pathetic lifeless comments or you say them but in the dms. and wow you do know what it is. so why are you asking me like your some sort of dumb kid? now please shut up.

i did not ask you like “sort of a dumb kid”. im pointing that you are giving invalid information about FindFirstChild. you are the dumb kid, that’s all.

when did i give misinformation point me out? also just stop this nonsense. reply in dms its the 4 time me saying it.

i’ll say it again. no, i dont want to go to the dm’s and argue there. you said:

and im stating that the instance named “Head” is not required to be a “Part”. FindFirstChild can find anything with the name “Head”, even an AnimationController named “Head”. stop arguing and learn.