How would i save stuff from the api (like vector3, enumitems, udim2...) in a datastore

i actually need them as i am trying to save the whole map with the same properties, but when converting these they just turn null when converted to json

Serialize them, for example a vector3 can be saved as an array of 3 values(x, y, z components). An enum item can be saved as a string, and goes on. I suggest you check this post:

1 Like

i already saw posts that recommended me to use workarounds, my question was if there was an intended way (or at least auto) to get anything in a datastore. but ig ill have to use this then, ty for answering

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.