#Does anyone know how to save my map barrier being open that's been purchased before?

4 messages · Page 1 of 1 (latest)

turbid frost
#

I'm sure there's a youtube tutorial for that

#

But here's the gist of it:
Make a table of all the barriers that a player has unlocked. When they buy a new barrier, just add it to that table. Then, when the player leaves, save that table to the player's userID using DataStoreService:SetAsync(<key>,<barrier table>). When the player joins again, get that table using DataStoreService:GetAsync(<key>) and loop through the table like this: for i,v in <your table> do. For every v object, look for its name in the workspace and do whatever you do to get rid of it

turbid frost
#

huh there isn't one

#

just do what I said above