Learn how to make a Pizza Saving System

I was learning scripting a lot and I was playing Pizza Factory Tycoon (By Ultraw) and I found something which I’m curious to learn

I saw that when you leave , it saves the tycoon and pizza also , fine , but I saw that after joining once again , pizza loads back as a model with same ingredients. So I’m curious to know how can I achieve this ?

I don’t need a full script , just a rough idea will be good !

Game Reference - Pizza Factory Tycoon - Roblox

This is just my 2nd post on devforum , so I don’t really know is it the place I should ask or somewhere else

1 Like

you can simply achieve this by using datastore

Uhhh…You need tables to save positions and save that in DataStores , that much I know , my main question is how you can group it with same ingredients you have added to it earlier…I hope that makes sense

you can simply make this by using string value and Datastore, when the player add ingredients make new string value with the ingredients name and save them, when the player join the game check if string value have ingredients or not if yes then clone the ingredients from rep storge and add them to your client’s pizza.

Ohk , I wanted a clear code like not unorganized , but thanks :slight_smile: I’ll mark your post as solution :smiley:

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.