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

Not able to access DataStore from Studio?

Asked by 10 years ago

Cannot write to DataStore from studio if API access is not enabled How can I fix this problem? Is there something in studio I need to do? There are no other errors to the script, so once this is working I think my High Score board should work. I have tried playing in server and actually online, but both dont work. Please help.

The line it says has the error.

score:SetAsync(player.Name, inv:FindFirstChild("KOs").Value)

1 answer

Log in to vote
6
Answered by
Merely 2122 Moderation Voter Community Moderator
10 years ago
  1. Go to the Develop page
  2. Click on the Games tab and find your game
  3. Click on the gear drop down and click "Configure"
  4. Check the box labeled "Enable Studio Access to API Services:"
0
Thanks so much, ps, love your trade hangout :D NinjoOnline 1146 — 10y
0
Wait there is no "Enable Studio Access to API Services:" I clicked on configure and I believe you meant go to the Games tab inside the configure. Theres only 2 checkboxes, one Allow this place to be copied as a template using the Create Place API in your game, the other Allow this place to be updated using the Save Place API in your game. Do I check them both? NinjoOnline 1146 — 10y
1
No, I mean on the Develop page, there is a Games tab on the left side. Click on that, and find your game. Merely 2122 — 10y
Ad

Answer this question