They have MeshParts as body parts, not unions
Which is the cause of the problem, since they cannot be transparent or changed
If I can remember properly, the transparency of MeshParts were editable…? Not sure.
For some reason, it isn’t working here
Still only the head turns invisible.
Here is the inside of the character in workspace
That is becuase the other parts of your body are MeshParts
How about creating a part with the same bounds of the mesh and replacing it with the part?
What…?
I’m pretty sure you can change the properties of MeshParts
inside Characters, it wouldn’t make sense if you couldn’t, also MeshParts
do have a Transparency property
(Why are you replying back to me again I’m not the OP)
Sorry, for clarification, by changed I meant the MeshId
P.S i replied becuase you used UnionOperation instead of MeshPart (sry abt it)
Hold up, I tried changing the transparency from the studio and it works, but strangely not from the script? Will investigate
yes, manually changing the transparency in studio works fine
I figured it out.
I found a similar problem here
Instead of CharacterAdded
try using CharacterAppearanceLoaded
e.g. (source: Jackscarlett)
local players = game:GetService("Players")
players.PlayerAdded:Connect(function(player)
player.CharacterAppearanceLoaded:Connect(function(char)
if char:FindFirstChild("Humanoid") ~= nil then
print("Making the character invisible")
for _, BodyPart in pairs(char:GetChildren()) do
if BodyPart:IsA("BasePart") then
BodyPart.Transparency = 1
end
end
end
end)
end)
Yepp thats it! thankyou sir!
strange that waitforchild didn’t work originally tho
np!
WaitForChild only waits for the object to exist, not for the assets to load
player.Character:GetDescendants() that why use this