Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

Hair Selection on Arrow movement?

Asked by 5 years ago
Edited 5 years ago

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

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 kag_e 12 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

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

0
worked !!!! Ind1v1duals 43 — 5y
Ad

Answer this question