So I am working on a sports manager game, and I got stuck. I do not know how to save stats such as each player on your teams overall. Can anyone help me with this? If you need anything else please tell me! ![]()
Are you referring to storing data to be re-fetched when the user re-joins at a later date?
If so: Data stores | Documentation - Roblox Creator Hub
You basically detect when a Player joins and fetch a datastore to load their data and then when they leave or periodically throughout their session you can update the datastore to reflect changes.
2 Likes
Yes but how would I set the players overall? Should i set a number value parented to the player for each players overall?
You can use BoolValues, StringValues, NumberValues or simply store them in server memory as a variable depending on what you need the data for.
1 Like
Ok thank you!! I will do this.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.