How to save tool to StarterGear after pickup?

How could they dupe it? It checks if the item is in the startergear before it ever even clones it into it.

When you are giving the item clone it to Backpack and StarterGear

Like this:

local tool = game.ServerStorage.Tool
tool:Clone().Parent = plr.Backpack
tool:Clone().Parent = plr.StarterGear

local tool = --location
local plr = game.Players.LocalPlayer
if plr then
local Clone = tool:Clone()
Clone.Parent = plr.Backpack
end
–This script will always make the player have this tool when he/she load into the game.

I don’t think anyone here understands what I’m trying to do. I want the player to save their items after death, not after they leave the game. Also, when a player picks up an item it will automatically equip it unless they are already holding another item. When an item is equipped it is no longer in the backpack and is now attached to the character. This can create some problems where an item might be duped or not saved. I don’t know how it could be duped but I wouldn’t take the chance.