Is there a way to keep tools in StarterGear, but not in Backpack?

What I’m trying to accomplish is that I am making an inventory system, and the tools that are inside the system, also save when the player dies, (and rejoins). But the problem is, I don’t want to have more than 1 tool in the player’s Backpack.

I want to be able to something like this
EXAMPLE OF EQUIPING/UNEQUIPING:

if player.StarterGear:FindFirstChild("ExampleTool") then
    StarterGear.ExampleTool:Clone().Parent = player.Backpack
end

Basically, is there a way to keep tools in StarterGear, but not in Backpack?

Any help is appreciated!

you can use a folder inside the player and put the tools in as string values and save them and load them

3 Likes

startergear is a section that clones all its children to backpack as soon as the game starts. You would want to store your tools in replicatedStorage, serverStorage, or (eugh) Lighting. You could save all of the tools which exist in your game in a folder and then save the names of the tools that the player has in their inventory to a table. Datastore2 saves tables just like other variables, so this method could work.

4 Likes

Could you provide an example on how you would do that (doesn’t need to be so in depth), because I’m having trouble on what you mean.

Well make a folder in rep storage for all the tools, and make a folder inside the player with some values detecting if they ow the sword or nah and you could do sum other stuff if you want

1 Like

Using a table is basically the same thing, but more efficient and resource-saving

1 Like

Yeah you’re right, but I’m in love with folders and values lol

4 Likes

We believe in folder supremacy
But a table for owned items is a better idea than values, you’re gonna go mad past like 5

2 Likes

Yes, this worked perfectly, (sorry for the late response)

Thank you!!

1 Like