Hey so I am making a character customization system. I have done the basics and now I am getting to the hair part, I want it to be a right and left arrow buttons and it lets you select through it like this image where it says 'hair' where my mouse is pointing, go to the link below:
You should understand the concept when you see that image, I cannot figure out how to make it go through a selection of hats if you do not understand what I am asking I can explain it to you further in depth at discord voculeš#8959
What if I had a value that stored a number in the screengui then in the script when the right arrow is clicked the number goes up by 1 and if left arrow is clicked the number goes down by one ... and then in a different script it has a while loop waiting for if the number value goes over 5 or how many hairs there are if it is over, it should reset value to 1. then in back to the other script it does theh
if value == 2 then cc.Humanoid:AddAccessory(game.ServerStorage.BoyHair.Hair2) end
and same for hair and value numbers 1,3,4, and 5