game.Players.PlayerRemoving:connect(function(p)
p:WaitForDataReady()
Model = p.StarterGear.SpeedCoil
if Model then
p:SaveInstance("SpeeCoil", Model)
end
end)
game.Players.PlayerAdded:connect(function(p)
repeat wait() until p.Character ~= nil
p:WaitForDataReady()
local Model = p:LoadInstance("SpeeCoil")
if Model ~= nil then
for _,v in pairs(Model:GetChildren()) do
v.Parent = p.StarterGear
v:clone().Parent = p.Backpack
end
end
end)
So, this script finds a tool called "SpeedCoil" in the players back pack, saves it, and reloads it once they join again.
My question is, how can i save all tools in one's starter gear at once?
I'm assuming i must use GetAllChildren and put it into a table then somehow loop save intstance through all the items. but i'm not quite sure if im right, or how to do that.

3 comments
I'd recommend reading up on DataStores for saving. You'd save the name(s) of the children(s) of the backbag, then when they rejoin, you add those items to their inventory again.
p:SaveInstance("SpeeCoil", Model) I thought you said "SpeedCoil"
Data persistence is deprecated.