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

how to go about saving items in a players inventory?

Asked by 6 years ago

i don't know how to even go about saving items a player has bought in the store.. can i be helped

1 answer

Log in to vote
0
Answered by
Rare_tendo 3000 Moderation Voter Community Moderator
6 years ago

You'd want to look for DataStoreService here.

What you could do is save all the names of the items in the inventory in a table with a unique key. When the player joins the game, you can go through all names in the table, find them in a folder of items, and parent it to the player's inventory folder - if it exists.

Ad

Answer this question