How would I make a saving script. I want the IntValue in a text box to save.
COMMUNITY QUESTION
How to Save/Data Persistence?
1 answer
You would use SaveNumber, it can not be used in a local script
game.Players.PlayerAdded:connect(function(player)
player:SaveNumber('Stringhereforkey',thenumberhere)
end)
for loadnumber it would be just the same but without the number and you have to have it set the loaded number to the IntValues value
This discussion is preserved as it was. New answers, comments, and votes are closed.
