How can i make a system for storing if a value inside multiple parts is true/false with datastore?

I need a datastore script that will store all the values inside of certain parts, to see if its true or false. every time the player joins, it needs to set those values to what is saved

I just don’t know how to do it. I need help.

I have looked, but not seen anything.

Basically im trying to make gates like simulators have, but not be bought in linear order.

You can try making this using tables I’d suppose? I’m not that familiar with Datastores and this is the only solution I could think of.

how would i make the table though? I’m not good at scripting, and i know its something like

local table = {}
1 Like