game.Players.PlayerAdded:connect(function(Player)
Player:WaitForDataReady() local StarterPack = Player:LoadInstance("Dirt") Player:SaveInstance("Dirt", game.StarterPack) Player:SaveInstance("Rock", game.StarterPack)
wait (30)
end)
I'm trying to save the tool called dirt and rock so that when the player picks it up it remains with them when they log in again.
Regardless of how the script works, I think you should probably be using data stores instead of persistence. Check this wiki article to see how data stores work.