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 » Scripters
Home Search
 

Re: Global Datastore

Previous Thread :: Next Thread 
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 12:25 AM
is there such thing as this? Because, i want to make a Global Server (Stat) top 10 type of thing. If there is mind anyone show me how its done i understand datastores but still :P


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 12:45 AM
b


Report Abuse
RoQuick is not online. RoQuick
Joined: 12 May 2013
Total Posts: 595
03 Jan 2016 01:21 AM
Yea someone help us I'm interested too please help
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 01:44 AM
xd


Report Abuse
Chrapnel is not online. Chrapnel
Joined: 01 Feb 2014
Total Posts: 951
03 Jan 2016 02:02 AM
http://wiki.roblox.com/index.php?title=API:Class/GlobalDataStore
Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 02:03 AM
wow... time to drink bleach yaaaah :#


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:35 AM
local DataStoreService = game:GetService("DataStoreService")
local DataStore = DataStoreService:GetDataStore("TestData")
local function Update(Key)
local Data
if Key then
Data = table.insert(Data, Data[#Data] + 1)
else
Data = {1}
end
DataStore:SetAsync("TestKey", Data)
end
while wait(1) do
local Key = DataStore:GetAsync("TestKey")
Update(Key)
end

--Update error l3l

03:35:35.035 - Workspace.Script:6: attempt to get length of local 'Data' (a nil value)
03:35:35.036 - Stack Begin
03:35:35.036 - Script 'Workspace.Script', Line 6 - local Update
03:35:35.036 - Script 'Workspace.Script', Line 14
03:35:35.036 - Stack End


Report Abuse
FearlessBiscuit is not online. FearlessBiscuit
Joined: 16 Jun 2013
Total Posts: 1157
03 Jan 2016 03:42 AM
fixd no replys pls


Report Abuse
twister1976 is not online. twister1976
Joined: 17 Sep 2010
Total Posts: 2250
03 Jan 2016 03:42 AM
http://wiki.roblox.com/index.php?title=Ordered_data_store

If money grew on trees... It would be as valuable as leaves. | Twitter: @TwisterRBLX


Report Abuse
Xarkos is not online. Xarkos
Joined: 15 Jul 2015
Total Posts: 2210
03 Jan 2016 04:35 AM
My siggy.. (My Idea lel)


http://www.roblox.com/games/282042104/Global-Leaderboard-v2?autoplay=true
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripters
   
 
   
  • 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