Help on a good way to save player cars

Recently, I started working on a car game, but I hit a wall. I’m not sure how I should save the player’s cars, especially since they can be modified. I also need to save those modifications. Do you have any ideas on how to structure this saving system?

Best way? Buffers.
Mid way? Tables…

Would you be kind to explain a bit more about Buffers?

Best way to learn how buffers work is to learn C (no jokes)

2 Likes

Serialize the modified car model and save it in a table.

2 Likes

Having gone down this annoying road before, I should go and say that it might not be possible, but to find out if it is, we need more detail.
Which chassis are you using (A-Chassis, Endorsed, Betterjeep, old roblox, ect)?
To what extent can they be customized,
And how are the cars instanced in the first place?

This is easier said than done, because scripts that are parented to what you’re serializing can’t be saved AFAIK

Why would you need to save the script inside the model? You use the saved properties in the script.

Depending on the chassis, are other scripts for lights/moving parts/ect not sometimes stored directly under those parts?

I still do not understand your claim. If you have a template car model stored, all that’s needed is apply the saved properties.

serialization.

1 Like

I tought about using the roblox chassis from the new racing template

Thank you for the tutorial! I think I can work with this method