Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Keeping all HumanoidRootPart's Transparent?

Asked by 10 years ago

Do you guys know how to block the Blue part that when you make a character go invisible it does not seem to want the RootPart be invisible. Does anyone know how to make its transparency = 1? (Every RootPart constantly)

0
Try having your title reflect your whole question. "HumanoidRootPart" could mean anything, so be a bit more specific. "Keeping all HumanoidRootPart's Transparent?" would be a good title. User#2 0 — 10y

1 answer

Log in to vote
1
Answered by
Merely 2122 Moderation Voter Community Moderator
10 years ago

When you are writing your for loop that sets the transparency of parts inside the character, check if the part's name is HumanoidRootPart before changing the Transparency.

For example:

for i,v in pairs(character:GetChildren()) do
    if v:IsA("Part") and v.Name ~= "HumanoidRootPart" then
        v.Transparency = 0
    end
end
0
I think he wants to have the HumanoidRootPart be transparent Thewsomeguy 448 — 10y
0
This snippet ignores the HumanoidRootPart when making transparency changes. Merely 2122 — 10y
Ad

Answer this question