|
| 16 Aug 2016 12:15 PM |
http://hastebin.com/inehuseleg.lua
I only learned the basics of datastores (because im lazy)
This siggy is copyrighted © |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 12:18 PM |
DON'T get data from the player's leaderstat. Save a record of there data solely in DataStore and just update it on their screen every time it changes.
And btw when they leave you're trying to save "leaderstat.Coins" instead of "leaderstat.Coins.Value" which you shouldn't do anyway but just letting you know |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Aug 2016 12:19 PM |
follow this format:
https://forum.roblox.com/Forum/ShowPost.aspx?PostID=195621950
|
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Aug 2016 12:20 PM |
@phoenix thats perfectly fine to get stats from the player. Your game needs to be FE
|
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 12:21 PM |
Oops I assumed it was
That's step 1 |
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 12:24 PM |
I'll use that format later in the future is there any problems
This siggy is copyrighted © |
|
|
| Report Abuse |
|
|
TimeTicks
|
  |
| Joined: 27 Apr 2011 |
| Total Posts: 27115 |
|
|
| 16 Aug 2016 12:25 PM |
Yes. Your code is less flexible compared to the format I showed you. Problem #1
|
|
|
| Report Abuse |
|
|
|
| 16 Aug 2016 01:07 PM |
Here's what I have currently:
http://hastebin.com/qaxivelero.lua
hope its ok
This siggy is copyrighted © |
|
|
| Report Abuse |
|
|