Place-wide Datastore

I have a money value on leaderstats called ‘Money’ I want to load this data from other game and save How i can do this

Thanks!

if it is within the same place you can just use datastores, they store data across all game servers in a place. if they are not the same place then you would need to use globaldatastore or teleport them to the place with teleport data to carry over the currency and save it there too.

1 Like

Can you write script i dont know too much about datastores

Ideally you should go to the new recruitment/hiring page rather than here then

Any datastore with the same key is game wide

For example:

local DataStoreService = game:GetService("DataStoreService")
local moneyStore = DataStoreService:GetDataStore("moneyStore")

this money store will be the same across your universe. that is how you will save and access the money through difference places

so long as you use the EXACT SAME string, such as ‘moneyStore’ in GetDataStore("moneyStore")

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.