How would I do this? I can't save vector3's in a datastore, so I'm wondering if there is a way to get around this.
✓ ANSWER ACCEPTED
How do I datastore a part position?
1 answer
✓ Accepted answer
I would create a dictionary for each part and their separate values, like so.
local part1 = game.Workspace.Part1
local part2 = game.Workspace.Part2
local partsPositon =
{
Part1Pos =
{
["X"] = part1.Position.X,
["Y"] = part1.Position.Y,
["Z"] = part1.Position.Z
},
Part2Pos =
{
["X"] = part2.Position.X,
["Y"] = part2.Position.Y,
["Z"] = part2.Position.Z
}
}
And then when they leave you can use :SetAsync() with the new position, and use :GetAsync() to set the positions when they join back.
Hope this gave you and idea!
This discussion is preserved as it was. New answers, comments, and votes are closed.

3 comments
Possibly create 3 values, X, Y, and Z, and save those 3 individual values in a dictionary?
https://scriptinghelpers.org/help/how-post-good-questions-answers
please include all scripts / attempts even if the code is not working