my body parts do but when i become invisible all i see if my beard, hair etc. how do i fix that?
function setTransparency(char, value)
for _, child in pairs(char:GetChildren()) do
if child:IsA('Hat') and child:IsA("Accessory") and child:FindFirstChild("Handle") then
child = child.Handle
elseif child:IsA("BasePart") and child.Name ~= "HumanoidRootPart" then
child.Transparency = value
end
end
end
local enabled = true
game.Workspace.inva.Touched:connect(function(hit)
local char = hit.Parent
if char then
local head = char:FindFirstChild("Head")
local face = head:FindFirstChild("face")
if enabled and head and game.Players:GetPlayerFromCharacter(char) then
enabled = false
for t = 0, 1, .1 do
if face then face.Transparency = t end
setTransparency(char, t)
wait(0.1)
end
wait(10)
for t = 1, 0, -.1 do
if face then face.Transparency = t end
setTransparency(char, t)
wait(0.1)
end
wait(2)
enabled = true
end
end
end)

4 comments
You want to become invisible? Like all invisible :D???? If so I can help u
yes. the script works, i just need to help finding out why my hair, bear, etc isn't becoming invisible with my body parts. body parts become invisible but not the accessories for some reason.
sorry for the poor grammar, was typing a lil fast e.e
Try that :D I cannot really point out what is wrong with your script but this one should work :D