zeax12
|
  |
| Joined: 11 Sep 2008 |
| Total Posts: 433 |
|
|
| 23 Oct 2013 10:31 AM |
I need to know, because I'm working on a script that has the line: math.random(1,[amount of things in something])
Iv'e been searching everywhere to find the method, but I haven't found anything. Is there a method? Thank you for reading! |
|
|
| Report Abuse |
|
|
zeax12
|
  |
| Joined: 11 Sep 2008 |
| Total Posts: 433 |
|
|
| 23 Oct 2013 10:45 AM |
| Bump... Please help me. :c |
|
|
| Report Abuse |
|
|
|
| 23 Oct 2013 11:05 AM |
| local NumberOfChildren = #Parent:GetChildren() |
|
|
| Report Abuse |
|
|
sbk28
|
  |
| Joined: 15 Nov 2008 |
| Total Posts: 2528 |
|
|
| 23 Oct 2013 11:05 AM |
local Children = Parent:GetChildren()
local ChildCount = #Children |
|
|
| Report Abuse |
|
|
zeax12
|
  |
| Joined: 11 Sep 2008 |
| Total Posts: 433 |
|
|
| 23 Oct 2013 11:19 AM |
| Thank you guys, I will test the script out now!! :D |
|
|
| Report Abuse |
|
|