Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Need help scriptign a face changer gui could anyone help?

Asked by
ilyax 0
7 years ago

Dear scripters, I need help making a Face-Changer-Gui!

Could you guys please help me out?

Ilyax

0
Hmm I can suggest you the stuffs you need but you have to make it... yourself. "face" is a decal found inside of character's head ... just change the decal's TextureId to whatever you want on a button press Gui. arshad145 392 — 7y

1 answer

Log in to vote
1
Answered by 7 years ago
Edited 7 years ago

Before Starting: I am going to be telling you how to do this, guessing that you already have a ScreenGui in StarterGui, and inside the ScreenGui, Insert a frame. Now, you should already have the right sizes and positions for this.

Let's Begin

Inside the frame, Insert an ImageButton, do this and change the position of the different image buttons that you want. In this case, I am only going to do 2. Now for the Images you want the face to change to, put the decal id inside of the image label. Once all this is done, we will start scripting. Put a local script inside of your frame, and edit it accordingly.

Lets do some Variables:

local player = script.Parent.Parent.Parent.Parent
local Face1 = script.Parent.Face1
local Face2 = script.Parent.Face2--Obviously what you named the face image buttons

I think that will be it for the variables, but let's finish the script

local player = script.Parent.Parent.Parent.Parent
local Face1 = script.Parent.Face1
local Face2 = script.Parent.Face2

function face1 ()
player.face.Image = Face1.Image
end

function face2 ()
player.face.Image = Face2.Image
end

Face1.MouseButton1Click:Connect(face1)
Face2.MouseButton1Click:Connect(face2)
0
This is a terrible script. And doesn't support FE, casper123123123 357 — 6y
0
This is a terrible script. And doesn't support FE, casper123123123 357 — 6y
Ad

Answer this question