spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
| |
|
|
| 30 Apr 2017 08:33 PM |
| im pretty sure if u r saving in datastores using userid or using their name u can just use that to retrieve it |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 30 Apr 2017 08:33 PM |
Thats what i was thinking.
|
|
|
| Report Abuse |
|
|
|
| 30 Apr 2017 08:51 PM |
| If youre using datastores its as simple as getting the data saved under that persons PlayerID or whatever kind of key you used to save that players data. Think there was a glich that caused grabbing the data while the player was out of game to set the data back to 0 when the player joined back in but Im sure they fixed it by now. |
|
|
| Report Abuse |
|
|
spinywind
|
  |
| Joined: 26 Jan 2012 |
| Total Posts: 3580 |
|
|
| 30 Apr 2017 08:54 PM |
You can still change data manually like that when the player is not it a game though.
|
|
|
| Report Abuse |
|
|
|
| 30 Apr 2017 09:01 PM |
Yeah. The player doesnt need to be in the game to set or grab data from a datastore. Datastores really dont even attach to players. They are attached to a key of whatever you set it to so you could have 1000DaTaPlAyEr be your own datastore and set/ read based on what anyones doing. Isnt really player oriented. But to make it set to a player you make the key of the datastore set to something (Usually the User ID not the name since people change their names) so that when the player comes back it can grab the same thing every time.
http://wiki.roblox.com/index.php?title=Data_store
Also on the glitch part, I was thinking of back in the good old days when we had to use data persistence. Awful times of roblox history. |
|
|
| Report Abuse |
|
|
OldGoldie
|
  |
| Joined: 17 Aug 2010 |
| Total Posts: 8210 |
|
|
| 30 Apr 2017 09:02 PM |
https://www.roblox.com/library/185867332/DataStore-Editor
Enable Studio API Access, and then use global as the scope.
|
|
|
| Report Abuse |
|
|