(closed) How do i save tycoon model when player leaves the game and load it again when player touches the trigger?

I’m trying to make a saving system in my tycoon game, there is a model that contains all tycoons in my game and i want to delete plain tycoon and replace it with the saved one when player touches the trigger with its saved tycoon, how would i do something like this? It all seems complicated to me

3 Likes

it’s kind of complicated and can be done in many ways
for example,
whenever a player buys a dropper a bool value will be set to true and saved via data store and when the player leaves and join again and touch the trigged it will check if that bool value is true and if it is true then it will load it

there may be better ways of doing that that is just an example

1 Like

is your tycoon a preset or sandbox? are there multiple save slots? is it co-op or single player?

1 Like

yes, i think i can do it that way, can you please somehow explain it (video, script) im just not quite sure if ill do this correctly

2 Likes

i just searched that in yt and found this

i didn’t watch the video but it was made 1y ago so it shouldn’t be outdated

1 Like

it unfortunately didnt work andi have no idea why, thanks for helping tho, i guess il just give up

sorry for responding kinda late, the tycoon is preset and there are multiple save slots

you could probably store it as some huge JSON encoded dictionary then read the values and set a bunch of bool values when loaded