Hello, I am making a game where players build a custom vehicle out of lots of different blocks and models. I have the building part completed, however I need to be able to save the model they make in between games. I have not used datasaves much, but I know that they are used for storing values such as level or cash of a player. The only time I used them, they were starting to overload after auto saving every minute, with less than ten numbers stored in them. I was just wondering if it would be feasible to save an entire vehicle:
car1 = workspace.Model:Clone() --then put the car as one of the values in the table (possibly with 3 or more save files) sessionData[playerUserId] = {car1,car2,car3}
I was simply wondering if this would be possible or if it would overload the save.
Thanks
you could use a serializer to serialize the model and then save the model to a datastore, but that'd quickly fill the key character limit.
other games, such as bloxburg have pulled this off by, what I think they do is if the string gets longer than 260,000 characters, they split the string, and then save the other that gets left in another key.