for _, item in pairs (character:GetChildren()) do
print("start")
if item.ClassName == "Part" then
item.Transparency = 1
elseif item.Name == "Head" then
item:FindFirstChild("face"):Destroy()
elseif item.ClassName == "Accessory" then
print("accessory")
item:Destroy()
end
end
this code deletes the body parts but doesn't delete the face or the accessory's on the player, the body type is R6 and i was wondering if anybody could fix the code so it deletes the players face and accessory's which will basically make the player invisible. I have also tried to use some of the 'fixes' found on this site but they don't work, the script is a local script in StarterCharacterScripts, also please note that "accessory's" does not print.
