When I press the right button text only updates the text in the properties but not in the UI.
Here's the script:
local LeftButton = Parent.Menu.Frame2.LeftArrowFace
local RightButton = Parent.Menu.Frame2.RightArrowFace
local Value = 0
local ListGuyDude = {"Face 1","Face 2","Face 3","Face 4","Face 5","Face 6","Face 7","Face 8"}
RightButton.MouseButton1Click:Connect(function()
local FaceNumbers = game.StarterGui.Menu.Frame2.Face1
Value = Value + 1
if Value == 1 then
FaceNumbers.Text = ListGuyDude[1]
elseif Value == 2 then
FaceNumbers.Text = ListGuyDude[2]
elseif Value == 3 then
FaceNumbers.Text = ListGuyDude[3]
elseif Value == 4 then
FaceNumbers.Text = ListGuyDude[4]
elseif Value == 5 then
FaceNumbers.Text = ListGuyDude[5]
elseif Value == 6 then
FaceNumbers.Text = ListGuyDude[6]
elseif Value == 7 then
FaceNumbers.Text = ListGuyDude[7]
elseif Value == 8 then
FaceNumbers.Text = ListGuyDude[8]
elseif Value > 8 then
Value = 1
FaceNumbers.Text = ListGuyDude[1]
end
end)

2 comments
You realize you can do ListGuyDude[Value]... right?
my eyes