|
| 11 Jun 2015 04:30 PM |
game.Players.PlayerAdded:connect(function(ye) player = game.Players:GetPlayers(ye) Instance.new("Folder", player) Folder.Name = "leaderstats" Instance.new("IntValue", leaderstats) IntValue.Name = "cash" end)
how do I define the game.Player.Name ? |
|
|
| Report Abuse |
|
|
| |
|
voItages
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 677 |
|
|
| 11 Jun 2015 05:00 PM |
game.Players.PlayerAdded:connect(function(player) local stats = Instance.new("IntValue") stats.Name = "leaderstats"
cash = Instance.new("IntValue") cash.Name = "Cash")
--Parenting
stats.Parent = player cash.Parent = stats end)
=volty= |
|
|
| Report Abuse |
|
|
voItages
|
  |
| Joined: 02 Nov 2013 |
| Total Posts: 677 |
|
|
| 11 Jun 2015 05:01 PM |
cash.Name = ("Cash")
forgot first "("
=volty= |
|
|
| Report Abuse |
|
|