Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

Hair Selection on Arrow movement?

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:

Image

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

1 comment

0

I can't see the image but just make a remoteevent that fires when you click one of the arrows, then recieve the remote event via a script and command that script to change what im hoping is the model of Hair1 with the model of Hair2 in the same position

1 answer

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

1 comment

0

worked !!!!

This discussion is preserved as it was. New answers, comments, and votes are closed.