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

How to save the positions and rotations of a part in a plot then load it again?

Hello,

As I said in the title too,I know how to save and load parts but i can't load/save their positions and rotations.Any help would be awesome

1 answer

✓ Accepted answer

You have to save their positions and rotations into your datastorage

local data = {}

local part = workspace.Part1
local partData = {
	['Orientation'] = part.Orientation;
	['Position'] = part.Position
	['BrickColor'] = part.BrickColor
}

table.insert(data, partData)

I'm assuming you already kinda know what you're doing though. otherwise start from something easier

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