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 » Game Design
Home Search
 

Datastores help? What are ServerScripts?

Previous Thread :: Next Thread 
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
26 Apr 2015 11:01 AM
I working with DataStores and I have this so far:

local DataStore = game:GetService("DataStoreService"):GetDataStore("Test")

local connection = DataStore:OnUpdate("key", function(value)
print("the key was changed to " .. value)
end)

DataStore:SetAsync("key", 1)
DataStore:SetAsync("key", 2)

connection:disconnect()

DataStore:SetAsync("key", 3)


But i says I need a server script to make ASync:() work?
Report Abuse
Mada754 is not online. Mada754
Joined: 22 Jan 2013
Total Posts: 5285
26 Apr 2015 11:03 AM
I'm not sure, I've never tried this before.
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
26 Apr 2015 11:04 AM
Then why are you.... nevermind.
Report Abuse
championbuilder is not online. championbuilder
Joined: 20 Jan 2009
Total Posts: 13544
26 Apr 2015 11:16 AM
https://www.youtube.com/watch?v=VXcbZ2kurvk
Report Abuse
chimmihc is not online. chimmihc
Joined: 01 Sep 2014
Total Posts: 17143
26 Apr 2015 12:24 PM
Script = server script

LocalScript = client script


I script -~ chimmihc
Report Abuse
Roardorak is not online. Roardorak
Joined: 13 Jul 2014
Total Posts: 184
21 May 2017 06:03 PM
i literally made this to help people (like myself lol) who are having trouble with datastore
https://www.roblox.com/library/829455014/InfoLogger
Report Abuse
Roardorak is not online. Roardorak
Joined: 13 Jul 2014
Total Posts: 184
21 May 2017 06:06 PM
i love to necrobump btw
Report Abuse
K7Q is not online. K7Q
Joined: 23 Mar 2013
Total Posts: 5546
23 May 2017 10:46 PM
youre a year late my good friend
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Game Design
   
 
   
  • 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