menu
Roblox Forum Archive
Home
User Search
Forums
Donate
search
settings
Home
User Search
Forums
Donate
launch
Go to User Dashboard
Forums
Scripters
How would I
chevron_left
chevron_left
chevron_left
of
1
chevron_right
chevron_right
chevron_right
How would I
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184814165
Saturday, March 05, 2016 9:16 PM GMT
On the join of a player, get the new player that joined's username and copy it into the severscriptstorage? I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184814272
Saturday, March 05, 2016 9:18 PM GMT
ReplicatedStorage* I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
cofunction
Join Date: 2012-12-11
Post Count: 3357
#184814309
Saturday, March 05, 2016 9:18 PM GMT
game.Players.PlayerAdded:connect(function(player) local value = Instance.new("StringValue", game.ServerStorage) value.Name = player.Name value.Value = player.Name end)
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184815685
Saturday, March 05, 2016 9:37 PM GMT
So would that save even when the player leaves? I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
cofunction
Join Date: 2012-12-11
Post Count: 3357
#184815760
Saturday, March 05, 2016 9:38 PM GMT
Yes until the server closes.
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184815806
Saturday, March 05, 2016 9:39 PM GMT
I want it to save even when the server closes. How would I do that? I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
cofunction
Join Date: 2012-12-11
Post Count: 3357
#184815857
Saturday, March 05, 2016 9:39 PM GMT
Datastoreeeesssssssssssssss
http://wiki.roblox.com/index.php?title=API:Class/GlobalDataStore
http://wiki.roblox.com/index.php?title=Data_store
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
FlyNormal
Join Date: 2015-09-30
Post Count: 344
#184815931
Saturday, March 05, 2016 9:41 PM GMT
http://wiki.roblox.com/index.php?title=Data_store
http://wiki.roblox.com/index.php?title=API:Class/Players/PlayerAdded
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184816878
Saturday, March 05, 2016 9:57 PM GMT
Datastore. Yeah that's what I want. I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184819503
Saturday, March 05, 2016 10:42 PM GMT
Following the instruction I'd do something like...? I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
Kramer777
Join Date: 2013-09-07
Post Count: 14696
#184824331
Sunday, March 06, 2016 12:02 AM GMT
Err.. I'm TNT
http://www.roblox.com/T-N-T-ACDC-item?id=145486186
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
e_Scriph
Join Date: 2013-01-13
Post Count: 5580
#184825557
Sunday, March 06, 2016 12:24 AM GMT
To save it after the server closes, you need to use datastorage. If you want it like that for eternity(regardless of what happens to the game), make a custom server with a api to do so
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