Face changer not working

  1. What do you want to achieve? Keep it simple and clear!
    I want to make it so that if a player presses a GUI image button their face gets changed on the server side.
    Here’s my code.

Server Side:

FaceHandler - Roblox Studio 2023_09_28 10_16_10

Client Side (In GUI):

FaceHandler - Roblox Studio 2023_09_28 10_16_20

  1. What is the issue? Include screenshots / videos if possible!
    The face won’t change for some reason. I have tried putting “rbxassetid://” before the face id but it still didn’t work

  2. What solutions have you tried so far? Did you look for solutions on the Developer Hub?
    I have tried YT and DevForum.

1 Like

Have you tried printing what faceID is on the server?

yes, i have, and it does print the face id, that bit works

are you sure the player is not wearing a dynamic head?

yep, im sure, i’ve checked all that

in server script change faceID.Value to faceID
in client script change FireServer(faceID) to FireServer(faceID.Value)

nope, doesnt work i just tried

1 Like

is the faceID a decal or an image?

it is a decal, im pretty sure. should i switch it to an image?

nooooooooooooooooooo no need no need

1 Like

oh ok, ill keep it a decal then

so why is it not working???

What does it print exactly?

it prints the id of the face. :smiley:

I added “exactly” there for a reason. Please tell me what it outputs directly.

1 Like

try using tostring(faceID) in server script while also using this

it only outputs the face it, thats it

What type of value are you using for the “FaceID”?

1 Like

I am using an intvalue for my faces id

Have you tried replacing it with a string value?

1 Like