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

Do DataStores have a limitation, whether it's in a LocalScript or Script?

Asked by
Shawnyg 4330 Trusted Badge of Merit Snack Break Moderation Voter Community Moderator
9 years ago

Hey all! Title says it all, folks.

0
Someone's hating on my question? Wow. Just because I couldn't find it.. Shawnyg 4330 — 9y
0
I upvoted it for you. Spongocardo 1991 — 9y
0
Thank you Shawnyg 4330 — 9y

2 answers

Log in to vote
2
Answered by 9 years ago

Data Stores have to be used in a normal Script because you are saving and loading data to and from the ROBLOX servers respectively. It explicitly says on the ROBLOX wiki that Data Stores can only be accessed from server scripts.

I hope my answer helps you. If it did, be sure to accept it.

Ad
Log in to vote
2
Answered by
adark 5487 Badge of Merit Moderation Voter Community Moderator
9 years ago

DataStore method calls cannot be used in a LocalScript at all, and from a server Script are subject to these limitations.

Please try and google simple questions like this. :)

Answer this question