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
|
  |
| 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
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 26 Apr 2015 11:04 AM |
| Then why are you.... nevermind. |
|
|
| Report Abuse |
|
|
|
| 26 Apr 2015 11:16 AM |
| https://www.youtube.com/watch?v=VXcbZ2kurvk |
|
|
| Report Abuse |
|
|
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
|
  |
| 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
|
  |
| Joined: 13 Jul 2014 |
| Total Posts: 184 |
|
| |
|
K7Q
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 5546 |
|
|
| 23 May 2017 10:46 PM |
| youre a year late my good friend |
|
|
| Report Abuse |
|
|