Giving a player his tools

I’m trying to make a shop system that has one time purchase items. I save values with the tool names in a folder inside the player and everything works fine, but i don’t know how to give the player the tools when he joins the game. Help would be appreciated!
Screenshot_298

You would create a function when a player joins (playerAdded).
Then I would create a variable for the inventory: local Inventory = player:FindFirstChild(“inventory”)
After use a loop similar to this
For I,v pairs(Inventroy:GetChildren) do

Game.ServerStorage.v:Clone

This gets all the boolvalues in the inventory folder and clones the respective tools from the server storage

2 Likes