Issue with deleting player's face

local Game = game
local Players = Game:GetService("Players")

local function OnPlayerAdded(Player)
	local function OnCharacterAdded(Character)
		if not Player:HasAppearanceLoaded() then
			Player.CharacterAppearanceLoaded:Wait()
		end
		
		local Head = Character:FindFirstChild("Head") or Character:WaitForChild("Head", 10)
		if not Head then return end
		local Face = Head:FindFirstChild("face") or Head:WaitForChild("face", 10)
		if not Face then return end
		Face:Destroy()
	end
	
	Player.CharacterAdded:Connect(OnCharacterAdded)
end

Players.PlayerAdded:Connect(OnPlayerAdded)

This is working on my end.

I tried to use your code in a game and it worked perfectly

Have you tried restarting Roblox Studio?

the players head/face didn’t load in time, That’s why

game.Players.PlayerAdded:Connect(function(plr)
	plr.CharacterAdded:Connect(function(character)
		repeat 
			task.wait() 
		until character:FindFirstChild("Head") and character:FindFirstChild("Head"):FindFirstChildWhichIsA("Decal")
		
		character.Head:FindFirstChildWhichIsA("Decal"):Destroy()
	end)
end)

I already tried this so many times it wont work

Can you print the value when unable to destroy face?

what do you mean bro? It’s working for me.

Can you please send screenshots?

I don’t know what you want a screenshot of, it is literally just my avatar

no i mean about your script, and the explorer

My script was just that code, I have nothing else in the game just that.

No i mean if your script is disabled or not

what does the output show? any errors?

Nope, and my script is not disabled, I probably wouldn’t have posted this if it was.