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

[SOLVED] How would I make a save/load script for Stages?

I am making a game with Stages and i'm not sure how I would create a save/load script? Any examples would be great!

5 comments

0

Please try it first and use the roblox developer wiki

0

Is the game a universe, and each stage a separate place? Or are the stages all in one place?

0

They're all in one place, would I use datastores?

0

Yep! All that you need to do then is make a counter that saves the 'id' of each stage, map some positional data to that ID, and save it in your datastore. This way, anytime a player rejoins the game, they can check which position matches their saved ID, and teleport to that stage immediately.

0

Ty!

1 answer

I have no idea what do you mean by "stages" but to save, for example, items on a let's say baseplate, you'd save the item's position and orientation adjacent to the baseplate, and load it the same way.

TIP: please be more specific and provide what you have tried when asking a question, thanks!

2 comments

0

Its basically the same as an obby, using Stages as the level name.

0

I guess you're reffering to maps or rounds? Well you make an obby, save it in the server storage, and clone it from there whenever you need it? Please be more specific if that's not what you mean.

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