I made this coin, where when you collect it, it disappears, and currency is added to your leaderstats. But the coin keeps respawning every 5 seconds, even if it is not collected. How do I make it so that it only respawns if someone collected it?
model = game.Workspace.Coin
backup = model:clone()
while true do
wait(5)
model:remove()
model = backup:clone()
model.Parent = game.Workspace
model:makeJoints()
end
