generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

If I were to use datastore

Previous Thread :: Next Thread 
Fidgeting is not online. Fidgeting
Joined: 08 Feb 2014
Total Posts: 1193
10 Aug 2014 02:21 AM
How would I save chapters?
Like, if you complete the chapter, you leave the game, then rejo- (well, you know.)

I looked at the wiki, and it is, is saving points...
Report Abuse
Fidgeting is not online. Fidgeting
Joined: 08 Feb 2014
Total Posts: 1193
10 Aug 2014 02:21 AM
aaand typo.

I looked at the wiki, and ALL* it is, is saving points
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
10 Aug 2014 02:44 AM
game:GetService('DataStoreService'):ArcaneMethod(game.Players.LocalPlayer,"Chapter",9001)
Report Abuse
phoenix53124 is not online. phoenix53124
Joined: 25 Feb 2009
Total Posts: 4889
10 Aug 2014 02:48 AM
Well not exactly, I looked it up, and it's like

ds = game:GetService('DataStoreService')
rd = ds:GetDataStore(game.Players.LocalPlayer.Name)
ad = rd:GetAsync("Chapter")
if not ad then rd:SetAsync("Chapter",1) end
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image