game.Players.PlayerAdded:connect(onPlayerRespawned) function onPlayerRespawned(newPlayer) wait(.1) newPlayer.Character.Head["face"]:remove() ---- this line newPlayer.Character.Head.Transparency = 0.99 newPlayer.Character.Torso.Transparency = 1 newPlayer.Character["Left Leg"].Transparency = 1 newPlayer.Character["Right Leg"].Transparency = 1 newPlayer.Character["Left Arm"].Transparency = 1 newPlayer.Character["Right Arm"].Transparency = 1 end function onPlayerEntered(newPlayer) newPlayer.Changed:connect(function (property) -- to see if (property == "Character") then onPlayerRespawned(newPlayer) end end) end game.Players.PlayerAdded:connect(onPlayerEntered)
everything is fine except removing the face. did i do something wrong?
Hello. I have experienced this same problem also. I tried many different things, but what I believe worked was a small wait of 5 seconds before removing the face.
Another reason it may not work is because :remove()
has been deprecated (which means it no longer works). Try :destroy()
instead.