Store
opens a key-value store kept with the place, so its rows survive a restart
Methods
1 member Access: server only
Saving and Loading Key-Value Records
Lifecycle: Server
A store is opened by name, then written and read with ordinary Luau tables.
Luau
local store = game.Store.open("Inventory")store:put("slot_1", { item = "Compass", quantity = 1 })local data = store:get("slot_1")if data then print("Retrieved item:", data.item)end Output: Retrieved item: Compass