How do i make an inventory

Before saying anything, know that i have no clue where to start on storing multiples values even when the player leaves, my guess would be to store them in a table. I want to make it that the game keeps checking if there is a certain value in your inventory and clones a gui frame into your screen gui if so. And if you click a button in the frame it changes the value of the player current equipped soldier. Thanks. Also if possible when a value in the player leaderstats reaches a certain value (ex. 100) it adds a value to the table / inventory.

1 Like