Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

how do I make my tycoon save progress for players?

Asked by 5 years ago

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.

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 iiomqitzkinqnaenaexx 0 — 5y
0
^ it's been deprecated for years now Warfaresh0t 414 — 5y
0
Thankyou for the help, but I am still slightly confused on how to use DataStores to save the tycoons progress for players. mistermaster06 3 — 5y
View all comments (2 more)
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! DinozCreates 1070 — 5y
0
Thankyou, but how do you put the tycoon items into the script? Should I just put in their model IDS? mistermaster06 3 — 5y

1 answer

Log in to vote
0
Answered by 4 years ago

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

Ad

Answer this question