How to make clothing store with saving?

How to make store where we can buy clothing like shirt or pants and if we rejoin it will be still on player?

I made npc if we talk with him he will sell shirt (copy shirt with id from server storage and paste it into player) but how to make it save?

Hello!
You can make leaderstats with data store, make an bool value of 1 clothing (or multiple) then when the player buys the clothing you make the bool value to true then if the bool value is true make that player can’t purchase the clothing anymore, because the player has it already. I hope it helped!

1 Like