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

How to save the Progress of a Tycoon?

Asked by 5 years ago

Hi, I would like to know what I would have to do to keep all the progress the player has made in his Tycoon ... could someone give me an idea of how to do it? Thank you!!

2
Maybe have a folder named Items and when a player buys something it will go to Items folder, and when they leave, the items will save inside the folder.(Note: the items are stringvalues). And maybe when they join you do the for loop in there items and check if its in replicatedstorage, if it is, put it in there base. I don't know if this will work. I'm kinda a noob at ds. Hate on this, go ahead. MahadTheIronSword 98 — 5y
2
Nvm I got a better way. Maybe for every item, there will be a value. When they buy a item, the value is true. Once they claim a base, they will loop in the values, if true, put it in the base. I think the 1st one will not work. I rushed on that. MahadTheIronSword 98 — 5y
0
haha, I thought the same thing I'll try to do something like that ... Thanks xmaanzach 28 — 5y
0
yeah what mahad said is right and duable, but i will ensure you that there might be more efficent ways starmaq 1290 — 5y
View all comments (3 more)
0
What forms?, Other ways to do it? xmaanzach 28 — 5y
0
not really sure, do some research starmaq 1290 — 5y
0
You really do need to use DataStore. Save all values like Mahad said in the better way, to save all the values in the DataStoreService... mudathir2007 157 — 5y

1 answer

Log in to vote
0
Answered by 5 years ago

Use DataStores.

https://developer.roblox.com/articles/Data-store

Do a table including:

  • Bought items table
  • Money

Save it then retrieve it later. Also, save the items as strings, not objects.

Ad

Answer this question