Fangous
|
  |
| Joined: 03 Jul 2010 |
| Total Posts: 4448 |
|
|
| 05 Aug 2015 10:45 PM |
that saves everytime they join
for example
_G.money |
|
|
| Report Abuse |
|
|
instawin
|
  |
| Joined: 04 Jun 2013 |
| Total Posts: 8777 |
|
|
| 05 Aug 2015 10:48 PM |
game.Players.PlayerAdded:connect(function(plr) local leaderstats = Instance.new("Folder", plr) leaderstats.Name = "leaderstats" local money = Instance.new("NumberValue", leaderstats) money.Name = "Money" end)
you can also save these stats with datastores |
|
|
| Report Abuse |
|
|
DogeKip
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 6860 |
|
|
| 05 Aug 2015 10:49 PM |
I'm not really sure what you're going for here, as for you to do anything with these values you'd have to create a number of variables that have specific names to be used... I really am not sure what you want. Try game.Players:GetPlayers()?
On and on south of heaven | Previously: awesom914 |
|
|
| Report Abuse |
|
|
DogeKip
|
  |
| Joined: 06 Mar 2011 |
| Total Posts: 6860 |
|
|
| 05 Aug 2015 10:49 PM |
OH You meant a value instawin got it
On and on south of heaven | Previously: awesom914 |
|
|
| Report Abuse |
|
|