How to use ToObjectSpace?

QUESTION

  • When the user leaves my game I want to save all the CFrames of the objects built on the user’s plot using ToObjectSpace. I will do this for the reason listed in additional information.

  • when the user rejoins my game it reloads the CFrames via ToObjectSpace relative to their plot.

ADDITIONAL INFORMATION

Goal:
I want to save and then load objects located on a user’s plot.

Note:
A plot is assigned to different players but the plots can vary in orientation. I want it so that if they place an object near the door in one server, when they join another, even if the plot orientation is different, the object is still near the door.

Let’s see how the plots are orientated differently:

1 Like