Trouble with cframe in a table

I save multiple cframe values as a table inside another table for my save store. How can I find the index of the cframe using the cframe coordinates kinda like GetDescendants()

1 Like

You can use in pair loops to loop through the dictionary (assuming that your save store is stored as a dictionary). You can get more information here: pairs and ipairs | Documentation - Roblox Creator Hub

How could I find every descendant of a table?

You can create a function where if the value you are checking is a frame coordinate, then add it to the total table, put that value into the function, and run the function again.

1 Like

how would that function look like in a script?

I’m not entirely sure what you mean it would help if you can send a snippet of how the tables look! Considering that you’re storing CFrame values inside a table, I’m pretty sure that you can keep track of each one by giving them unique keys that you can reference later!

Im not sure you can actually save cframes inside datastores