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

How would I save vehicles?

Sorry, but how would I save a vehicle like Vehicle Simulator saves vehicles? Or jailbreak. Would I use a table or anything else? IF I get an answer, I will figure out how to save it, thanks!

1 answer

✓ Accepted answer

Howdy!

Games that save items such as those probably use Datastores to do so. A datastore is like a table saved by Roblox that can be accessed across servers. When you save a table locally, it's only available for that server only.

You can read more about datastores here, here, and here

If this helped you out, consider accepting this answer for those sweet, sweet reputation points. If not, comment below and I (or someone else) will help you out.

Be sure to check out the Roblox API Documentation as well for additional reference.

4 comments

0

If you wanted to save a player's vehicle, you can use DataStores (as mentioned) and save the name of the car and use that name to load the car.

0

Thanks!

0

You should use DataStores, but you can't save objects with them. You should give players some kind of value which shows whether or not they own the vehicle. You can save that value, but you cannot save the car.

0

Yea, i think im gonna use that method, lovespeaksouttruth, nice name btw

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