|
| 24 Jul 2013 04:19 AM |
| Do you have to use an IntValue now? |
|
|
| Report Abuse |
|
|
talk2me2
|
  |
| Joined: 25 Mar 2011 |
| Total Posts: 1051 |
|
|
| 24 Jul 2013 04:22 AM |
Yes.
function onPlayerEntered(player) local stats = Instance.new("IntValue", player) --player sets the parent. local time = Instance.new("IntValue", stats) --stats it time's parent end
game.Players.ChildAdded:connect(onPlayerEntered)
etc etc. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Jul 2013 04:37 AM |
| So you can still use a model? |
|
|
| Report Abuse |
|
|
|
| 24 Jul 2013 04:39 AM |
| To contain the stat objects, I think you can use anything, though I have only seen a model and IntValue be used. (Why not?) |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 24 Jul 2013 04:44 AM |
You can use model or any value. Example:
Instance.new("Model", Player).Name = "leaderstats" will work just as Instance.new("IntValue", Player).Name = "leaderstats" |
|
|
| Report Abuse |
|
|