#How do i save inventories/shop?

1 messages · Page 1 of 1 (latest)

ebon badger
#

how do u save shops/inventories? when i use profileservice i make it like HeavySword = true
Sword = true and add a folder w boolvalues inside the player. im pretty sure thats just stupid so how do i do it?

halcyon stone
#

data stores

#

save an array of your values or create an individual datastore for each value

atomic timberBOT
#

studio** You are now Level 3! **studio

ebon badger
#

im not asking HOW to save im asking how to save PROPERLY im using profileservice and adding boolvalues into the player for each item and doing it like if plr.items.sword.value == true then -- wtv function to give the plr the sword

and this is cursed as hell

#

i need to know how others properly save that data and load it

#

and if i use datastores properly where do i save?? an attribute inside the player? i dont understand

halcyon stone
halcyon stone
ebon badger
#

thank you sm ill look more into how to do it

#

i appreciate ur help