This is local script inside an gui, which were made for character customizations. but when you choose gender it just doesn't work.
local GUI = script.Parent
local GenderFrame = GUI:WaitForChild("GenderFrame")
local Customization = GUI:WaitForChild("Customization")\
local Face = {
[1] = "Default",
[2] = "Dont wake me up",
[3] = "Awkard Eyeroll",
[4] = "Bad News Face",
[5] = "Furious George",
[6] = "George Nouveau",
[7] = "Huh?",
[8] = "Mad Face",
[9] = "Nervous",
[10] = "Not sure if...",
[11] = "Rage Face",
[12] = "Sad Face",
[13] = "Smug",
[14] = "Stink Eye",
[15] = "Sweating",
[16] = "Tired Face",
}
local FemaleFace = {
[1] = "Blue Galaxy Face",
[2] = "Pink Galaxy Face",
[3] = "Green Galaxy Face",
[4] = "Freckles Face",
[5] = "Concerned",
[6] = "Purple Galaxy Face",
[7] = "Sad Face",
[8] = "Smiling Girl",
[9] = "Kind Face",
[10] = "Happy Face",
[11] = "Miss Scarlet",
[12] = "Err...",
}
local Skins = {
[1] = "Skin1",
[2] = "Skin2",
[3] = "Skin3",
[4] = "Skin4",
[5] = "Skin5",
[6] = "Skin6",
[7] = "Skin7",
[8] = "Skin8",
[8] = "Skin9",
}
local MaleHairs = {
[1] = "Default",
[2] = "Chestnut Style",
[3] = "Messy Hair",
[4] = "Ravenhaired Charmer",
[5] = "Stylish Brown Hair",
}
local FemaleHairs = {
[1] = "Black and Red",
[2] = "Platinum Messy Buns",
[3] = "Cinnamon Hair",
[4] = "Fro double Buns in Black",
[5] = "Black Messy Bun",
}
local Arrows = {
"Left",
"Right",
}
local Genders = {
"Male",
"Female",
}
GenderFrame:WaitForChild("Male").MouseButton1Click:Connect(function()
--male
Gender = Genders[1]
GenderFrame.Visible = false
Customization.Visible = true
UpdateFace(FaceValue)
Finish.Visible = true
Hover:Play()
end)
GenderFrame:WaitForChild("Female").MouseButton1Click:Connect(function()
--female
Gender = Genders[2]
GenderFrame.Visible = false
Customization.Visible = true
UpdateFace(FaceValue)
Finish.Visible = true
Hover:Play()
end)

2 comments
Out of curiosity, are you getting errors? You have extra commas within the tables.
Nope, no errors