So I use this script to make my weapons respawn
local gear = {}
for i,v in pairs (workspace:GetChildren()) do
if v:IsA("Tool") then
gear[i] = v:clone()
v.AncestryChanged:connect(function()
Delay(30, function() -- 30 = time until respawn
gear[i]:clone().Parent = workspace
end)
end)
end
end
However, how do I make it so that once the tool has been taken, after a certain amount of time, it will spawn another one, BUT, only one, until it gets taken again, and then the timer starts again.
