Okay so I notice alot on character customization games that the creators put these boxes with arrows on the side, so say if you clicked the right arrow the box in the middles text would change from 1 to 2 and if you clicked on the left arrow it would go from 1 to 0

well its pretty similar when it comes to hair, I wanna make 2 of these really, see it'll help me save time I bet but I took the stupid simpler option of making a button for every hair shape, I decided to just leave that as it is so now im doing hair colour,

Im 100% sure it has something to do with tables and indexing

to emphasise what I mean take a look at this video here

https://www.youtube.com/watch?v=x1ChLXn_K7o

Im gonna try and have a crack at it right here

Colortable = {"Old Yeller", "Really Red", Really Blue", "Pastel Orchid"}

local arrowR = script.Parent
arrowR.MouseButton1Click:Connect(function()
for i, v in pairs (Colortable) do
game.Players.Localplayer.Head.Meshpart.BrickColor = [v]
end

i haven't scripted in 7 months so sorry if this looks odd