Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

how do I make my tycoon save progress for players?

Hello, I am a pretty new roblox developer, and I have recently decided to try and make a tycoon. The problem is, my tycoon is going to be very long, so I need it to save its progress for players. I know that there is someway that you can do this with save tables, but I don't know how to create these tables or even start the code for a game to save at all. Im also not sure whether to use Data Persistence or DataStoreService. Also, Ive heard you have to copy all of the objects in the tycoons IDS into the save table, but I am not quite sure what IDs the table needs. I would really appreciate it if somebody could help me with all three of my questions.

6 comments

0

I think data persistence was deprecated so use datastoreservice and roblox has a pretty good guide on using it here u go https://developer.roblox.com/articles/Data-store

0

^ it's been deprecated for years now

0

Thankyou for the help, but I am still slightly confused on how to use DataStores to save the tycoons progress for players.

0

Above is a question i replied to about data stores, the code should get you started. Essentially you'd add every purchaseable tycoon object into the table, and set the value to true upon purchase. How you load those items back in is up to you though!

0

Thankyou, but how do you put the tycoon items into the script? Should I just put in their model IDS?

1 answer

This is no script requestment website. Please next time provide us with code so we can help you fix it.

This discussion is preserved as it was. New answers, comments, and votes are closed.