How Do I Save Tools When Leaving?

Players purchase them and it leaves the tool folder to there inventory in the game, how do i make it where they leave and they remain in the players inventory?

Loop through their inventory, save the tool’s name to an array, then save that array.

continue from @syclya what said

To load the data that saved

make a variable equal to table and then set the variable equal to data by :GetAsync.

and i think the only way to give player tool is by cloning it

Basically all you need to do is on player exit save the tool names into a table/array and on player enter load the data and loop through the table/array and clone the tools from the storage place to the players backpack