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

Getting data stores in a script in player?

Asked by
lucas4114 607 Moderation Voter
8 years ago

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

1 answer

Log in to vote
1
Answered by 8 years ago

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.

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. M39a9am3R 3210 — 8y
Ad

Answer this question