How to make a part a character slowly become not invisible

how to make a part a character slowly become not invisible like wait every milisecond the transparency become 0.1 to 0.2

for i = 1, 0, -1 do
    for _, part in pairs(player.Character:GetChildren()) do
        if part:IsA("BasePart") and not part.Name = "HumanoidRootPart" then
            part.Transparency = i
        end
    end
    wait(0.1)
end
2 Likes