How to change the face of a player

As the title says, I’m trying to change the character’s face in-game.

Character:FindFirstChild("Head"):FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id="..Face

Face is the face id that i want to change to, how can this be done?

Edit: on that note, how can apply this to shirts, t-shirts, pants and accessories?

5 Likes

Try using “rbxassetid://“..id instead, provide it the asset id you want to change to.

the character’s face just goes blank

Maybe do something like this:

local newFace = "http://www.roblox.com/asset/?id="..Face
Character:FindFirstChild("Head"):FindFirstChildOfClass("Decal").Texture = newFace 

same result, a blank face
image
even if I do:

Character:FindFirstChild("Head"):FindFirstChildOfClass("Decal").Texture = "http://www.roblox.com/asset/?id=7699174"

Are there any errors?

Maybe this issue is caused by the new Face system roblox added?

Website IDs and studio IDs are different.
Maybe try pasting the face ID you want into a decal in studio, copy the one it changes to, and use that one in the script.

1 Like

the script returns no errors, the ID mentioned above goes to the silly fun face

this does not change anything, still same result. Does maybe a morph work?

I did this by not changing the decal, just removed and replaced it with a clone of a face.

local faceid = 1 --set this to your id
Character:FindFirstChild("Head").face.Texture = "rbxassetid://"..tostring(faceid)

Try this:

local humanoid = Character:FindFirstChild("Humanoid")
local description = humanoid:GetAppliedDescription()
--ONLY the id number, not the "http://www.roblox" etc
description.Face = 128992838 -- 128992838 for Beast Mode; replace with "Face" or id-only
humanoid:ApplyDescriptionReset(description)
3 Likes

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.