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 » Club Houses » Off Topic
Home Search
 

Re: does waitfordataready work in studio test mode

Previous Thread :: Next Thread 
trillmug78 is not online. trillmug78
Joined: 22 Dec 2014
Total Posts: 9283
10 May 2015 07:17 AM
cause i'm trying to do something related to data persistence

i need an adequate signature


Report Abuse
Joe11Joe99 is not online. Joe11Joe99
Joined: 22 May 2011
Total Posts: 34458
10 May 2015 07:19 AM
stop using data persicrap


start using data stores



professional thinker - THE TAPPIER ARMY
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
10 May 2015 07:19 AM
use datastores
datastores are easier and much better than data persistence

NOW GATHER,UNDER THE NAME OF TEAM ROCKET!
Report Abuse
Joe11Joe99 is not online. Joe11Joe99
Joined: 22 May 2011
Total Posts: 34458
10 May 2015 07:20 AM
the only thing good about data persicrap is how it is secure


but other than that it is worthless



professional thinker - THE TAPPIER ARMY
Report Abuse
trillmug78 is not online. trillmug78
Joined: 22 Dec 2014
Total Posts: 9283
10 May 2015 07:21 AM
pst i'm new at this what's datastores

i need an adequate signature
Report Abuse
Joe11Joe99 is not online. Joe11Joe99
Joined: 22 May 2011
Total Posts: 34458
10 May 2015 07:23 AM
THEY LET YOU STORE THINGS BY NAME AND STUFF


SO THAT EVERYONE CAN ACCESS THEM, NOT JUST A CERTAIN PLAYER



professional thinker - THE TAPPIER ARMY
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
10 May 2015 07:30 AM
http://wiki.roblox.com/index.php?title=Data_store

this taught me

NOW GATHER,UNDER THE NAME OF TEAM ROCKET!
Report Abuse
trillmug78 is not online. trillmug78
Joined: 22 Dec 2014
Total Posts: 9283
10 May 2015 07:39 AM
08:38:42.380 - Place has to be opened with Edit button to access DataStores
08:38:42.380 - Workspace.Script:13: attempt to index upvalue 'DataStore' (a nil value)

i just took one of their examples and edited it a tiny bit

i need an adequate signature
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
10 May 2015 07:44 AM
show script

NOW GATHER,UNDER THE NAME OF TEAM ROCKET!
Report Abuse
trillmug78 is not online. trillmug78
Joined: 22 Dec 2014
Total Posts: 9283
10 May 2015 07:45 AM
i'm not too knowledgeable about this

print 'Hello world!'
local DataStore = game:GetService("DataStoreService"):GetDataStore("Points")
game.Players.PlayerAdded:connect(function(player)
local ls = Instance.new("Model", player)
ls.Name = "leaderstats"
local score = Instance.new("IntValue")
score.Name = "Clicks"
score.Parent = ls
end)

game.Players.PlayerAdded:connect(function(player)
local key = "user_" .. player.userId
DataStore:UpdateAsync(key, function(oldValue)
local newValue = oldValue or 0
newValue = newValue + 0
return newValue
end)
end)

i'm not quite sure what it's doing either

i need an adequate signature
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
10 May 2015 07:51 AM
Look at the wiki and learn from it. Their examples aren't great

NOW GATHER, UNDER THE NAME OF TEAM ROCKET!
Report Abuse
trillmug78 is not online. trillmug78
Joined: 22 Dec 2014
Total Posts: 9283
10 May 2015 07:52 AM
that's exactly what i did except i changed 1 number

i need an adequate signature
Report Abuse
Snowskateer is not online. Snowskateer
Joined: 06 Dec 2011
Total Posts: 4647
10 May 2015 07:55 AM
In my games I use setasync rather than updateasync
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Club Houses » Off Topic
   
 
   
  • 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