Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How would one fetch player data?

Asked by 10 years ago

How would one fetch a players data with data store? For example, I wanted to fetch my own data and print the money I have in the output. Would I use Ordered Data Store?

1
use GetAsync with the DataStore.. EX; local ds = game:GetService('DataStoreService'):GetDataStore('Stats') print(ds:GetAsync("User_1242523")) Goulstem 8144 — 10y
0
Ahh that was so simple I understand now thank you. TaleOfScripting 15 — 10y

Answer this question