menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripting Helpers
how you make datastore leaderboard with multiple stats
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
how you make datastore leaderboard with multiple stats
[rfa#hidefromsearch]
Join Date: 0001-01-01
Post Count: 0
#141758607
Sunday, July 27, 2014 8:46 PM GMT
[rfa#hidefromsearch]
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
[rfa#hidefromsearch]
Join Date: 0001-01-01
Post Count: 0
#141758733
Sunday, July 27, 2014 8:47 PM GMT
[rfa#hidefromsearch]
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
robomax11
Join Date: 2011-07-07
Post Count: 6828
#141758820
Sunday, July 27, 2014 8:48 PM GMT
read wiki
http://wiki.roblox.com/index.php?title=Data_store
also game:GetService('DataStoreService'):GetDataStore('noob') --//thats your first line. your welcome ( ͡° ͜ʖ ͡°) obv siggy is obv
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
InfiltrationFox
Join Date: 2012-07-15
Post Count: 453
#141758926
Sunday, July 27, 2014 8:49 PM GMT
Also use
http://wiki.roblox.com/index.php?title=Ordered_data_store
because you're using a leaderboard.
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
robomax11
Join Date: 2011-07-07
Post Count: 6828
#141758990
Sunday, July 27, 2014 8:50 PM GMT
ig your stats are under your player do a loop and save for i, v in pairs(p:GetChildren()) do if v:IsA('IntValue') then datastore:SetAsync(v.Name, v.Value) end end --gg ( ͡° ͜ʖ ͡°) obv siggy is obv
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Gnago
Join Date: 2014-01-28
Post Count: 372
#141759280
Sunday, July 27, 2014 8:53 PM GMT
http://www.roblox.com/Forum/ShowPost.aspx?PostID=141758870
Advice from an expert, BuildIntoGames, creator of Guest Defense
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
Gnago
Join Date: 2014-01-28
Post Count: 372
#141759364
Sunday, July 27, 2014 8:54 PM GMT
oh wait, this^^^^^ is for saving the datastore... not what you needed, but it may come in handy
Go to point in time
arrow_right
10 minutes before
5 minutes before
At time of posting
5 minutes after
10 minutes after
more_horiz
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right