–I am creating this topic based on another already created.
I recently took as a reference a character personalization system and I have some doubts.
Well,
the big question is:
How do I save items that players are using? (hats, shirts, hairs)
There are some easy ways to save the player’s character, or his items so that when he enters the server again, his clothes are returned to him.
Anyway, could you explain it step by step?
all_TY
If you make a data table that ID’s all the clothings items (i.e. a red shirt is ID:1000 and jeans are ID:2000), then you can just save the ID values in an array and save those values to a datastore. Then when you retrieve the saved values from dataStore, just read the array and implement to character.
Create a function that insert a StringValue in a folder that you can create with a script when the player join for example the folder to make the leader board and then you can create a script that detect when the player wear a new item creates a StringValue in the previous folder, to save the values you can make a datastore to save the StringValue.
As example of a Datastore that saves StringValues, you can modify it as you want to reach what you need: