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: