Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
✓ ANSWER ACCEPTED

Getting data stores in a script in player?

So.. would getting data stores in a normal script that is in the player's gui work?..

1 answer

✓ Accepted answer

Datastores are just tables. The script can be in the lighting if you wish as long as you use GetAsync you should be able to retrieve the table, no matter where the script is and as long as it's not a local script.

1 comment

0

Actually, scripts don't work in Lighting. If they are appropriately placed, they'd be in ServerScriptService or Workspace. If FilteringEnabled is disabled, then they could work in PlayerGui or Backpack.

This discussion is preserved as it was. New answers, comments, and votes are closed.