So I'm making a character selection gui in my place (btw its a localscript)
The gui (all 3 are text buttons) is positioned like this
[<] [Mikasa] [>]
Supposedly when you click < or > they're to change the text to either "Armin" or "Connie" but everytime I'm clicking , it doesn't do anything. Can't even see the print in the output.
Can anyone help me out?
d = 1 print("arrowthingies") while true do function rightc() d = d + 1 print("itwurks") end function leftc() d = d - 1 print("yeslol") end if d == 1 then script.Parent.left.Visible = false end if d == 3 then script.Parent.right.Visible = true end if d == 1 then script.Parent.selection.Text = "Mikasa" elseif d == 2 then script.Parent.selection.Text = "Armin" elseif d == 3 then script.Parent.selection.Text = "Connie" end wait() end script.Parent.right.MouseButton1Down:connect(rightc) script.Parent.left.MouseButton1Down:connect(leftc)