I have to save the position as a string for it to save, So when i save the position and then try to set a part’s position to the saved position it sets the position to the middle of the map so basically 0,0,0 so if you know the fix or a better method please let me know.
local OldPosition = Part.Position
-- Filler code
Part.Position = OldPosition -- Will set the part's position back
Not sure this is what im looking for, It saves the position as a string in a table, Meaning i’d have to convert it to a vector3 however when i do it auto changes the position to 0,0,0, So i am kinda in a weird situation because it has to be a vector3 to set the position.
Pretty sure I understand what you mean. Are you using unpack on the table?
No, But the table format is {
PlacedItems = {pos = theposofpart,},
}
im making a placement system
i dont think unpack is needed but i dont mind giving it a shot
That would look something like this:
PlacedItems = {
Pos1 = {X, Y, Z}
}
You can then use this position by doing:
local Pos = Vector3.new(unpack(PlacedItems[“Pos1”]))
1 Like
Still Prints the position as 0,0,0 its so weird tbh
1 Like
Ill check these out thanks for the reference!