I am making a money gui so we aren't just using leaderboards, and I want to know how to make it save when a player leaves, and comes back with the same amount of money they had the last server, how would I do that?
COMMUNITY QUESTION
How would I make a text label save for when a player leaves the game and joins again?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
http://wiki.roblox.com/index.php?title=Data_store
you have to save the leaderstat not the text label
Use leaderstats and datastores. Then make a while wait loop to make the text label say the amount of the leaderstat. also use player added and player removing!
You should update the TextLabel using the Changed event of the leaderstat value, and if you save on PlayerRemoving it's a good idea to delay the server shutdown time using BindToClose.