I'm trying to remove the face of a character and it isnt working.................... Help
for i,v in pairs(Head:GetChildren()) do
if v:IsA('Decal') then
v:Destroy()
end
end
I'm trying to remove the face of a character and it isnt working.................... Help
for i,v in pairs(Head:GetChildren()) do
if v:IsA('Decal') then
v:Destroy()
end
end
local Head = game.Workspace.Player1.Head
Head:WaitForChild("face"):Destroy()
WaitForChild will wait for the face to appear in the head and then destroy it when it does.
Hope this helps :)
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
What is "Head"?