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?
you have to save the leaderstat not the text labelgreatneil802647— 6y
0
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!DanielDeJong3158— 6y
0
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.mattscy3725— 6y