|
| 17 Oct 2015 11:39 AM |
game.Players.playerAdded:connect(function(plr) local Name = Instance.new('IntValue') stats.Name = 'leaderstats' end)
I can't get it to work. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
bluefredy
|
  |
| Joined: 23 Oct 2010 |
| Total Posts: 59243 |
|
|
| 17 Oct 2015 11:44 AM |
local Players = game:GetService("Players")
Players.PlayerAdded:connect(function(Player) local Stats = Instance.new("Folder", Player) Stats.Name = "leaderstats" end) |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 11:51 AM |
- reg script in workspace
still not working :l |
|
|
| Report Abuse |
|
|
bluefredy
|
  |
| Joined: 23 Oct 2010 |
| Total Posts: 59243 |
|
|
| 17 Oct 2015 11:51 AM |
| probs cuz u have no idea what ur doing |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:05 PM |
| Well I am trying to make it work |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:08 PM |
game.Players.PlayerAdded:connect(fuction(player) local statsFolder = Instance.new("Folder", player) statsFolder.Name = "leaderstats" local cash = Instance.new("IntValue", statsFolder) cash.Name = "Cash" end)
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:18 PM |
BSG thanks for helping
there is a read underline under the first local |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:20 PM |
Sorry I mis-typed the word function as fuction. Put an n in there and you're good.
Also I'm BCG, not BSG. Thanks. :P
-The [Guy] |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Oct 2015 12:31 PM |
How would I make another leaderstats?
Like another one named EXP |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:32 PM |
game.Players.PlayerAdded:connect(fuction(player) local statsFolder = Instance.new("Folder", player) statsFolder.Name = "leaderstats" local cash = Instance.new("IntValue", statsFolder) cash.Name = "Cash" local exp = Instance.new("IntValue", statsFolder) exp.Name = "EXP" end)
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:37 PM |
| What is the string value called? |
|
|
| Report Abuse |
|
|
| |
|
|
| 17 Oct 2015 12:45 PM |
How do I do this?
Like if kills == to number? |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 12:46 PM |
if kills == tonumber(string)
-The [Guy] |
|
|
| Report Abuse |
|
|
|
| 17 Oct 2015 01:06 PM |
| ug, im trying to research i cant seem to find anything to do it |
|
|
| Report Abuse |
|
|