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

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

Asked by
Fewice 22
6 years ago
Edited 6 years ago

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!

0
Please try it first and use the roblox developer wiki MaxDev_BE 55 — 6y
0
Is the game a universe, and each stage a separate place? Or are the stages all in one place? saenae 318 — 6y
0
They're all in one place, would I use datastores? Fewice 22 — 6y
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. saenae 318 — 6y
0
Ty! Fewice 22 — 6y

1 answer

Log in to vote
0
Answered by 6 years ago

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!

0
Its basically the same as an obby, using Stages as the level name. Fewice 22 — 6y
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. radusavin366 617 — 6y
Ad

Answer this question