Currently, i want to create a script whereas the player uses the :addaccesory() to make it seem like they are on a sleigh, Im having trouble getting the script to work, i want there to be a sled that appears on the player when a button is pressed (in this case the button is called “call bike”) and it doesnt seem to work.
I want it to depend on a string value in the player and there would be a list of sled accesories in a replicated storage folder, if the string value’s value matches the replicated storage folder accessory name it’d be picked, but i dont seem to know how to really do this.
this is the server side for the script
this is the client side for the script
this is the list of accesories that the player can pick ( i already have a script for the player being able to pick them and their name goes into the string value)
This is the string value inside the player (for this example i picked eskino sled)
This is the picture of what happens when i use the script above, and the second picure is what i want to happen whereas the accesory/sled appears on the player
could anyone help on how i can make the accessory appear depending on the string value in the player?
i know this is alot of information and i mightve not explained things clearly so please correct me if im i dont provide enough