“self” is a variable referring to the player’s character.
Changing the mesh works fine, but changing the face doesn’t.
This is a server script in StarterCharacterScripts.
Solution:
It seems the problem was that I was changing the face before the character fully loaded in, and then the face was being changed back to the default after I had changed it.
This is what the beginning of my script looks like now:
local self = script.Parent
local plr = game:GetService("Players"):GetPlayerFromCharacter(self)
plr.CharacterAppearanceLoaded:Wait()
Try to give the variable a different name
Also try to print some more things to see where the issue is
You could maybe try to do like:
local cr = script.Parent
local head = cr:FindFirstChild("Head")
local face = head.face
--try to print and check if head and face exist
--do your stuff here