hyyt8
|
  |
| Joined: 02 May 2007 |
| Total Posts: 1760 |
|
|
| 17 Jul 2011 03:47 AM |
| :GetChildren():random() will work right? :D |
|
|
| Report Abuse |
|
|
Fl0x
|
  |
| Joined: 06 Aug 2010 |
| Total Posts: 5169 |
|
|
| 17 Jul 2011 03:54 AM |
| "random" is not a valid method. (A nil value) |
|
|
| Report Abuse |
|
|
hyyt8
|
  |
| Joined: 02 May 2007 |
| Total Posts: 1760 |
|
| |
|
|
| 17 Jul 2011 04:08 AM |
p = game.Workspace:GetChildren() r = math.random(1, #p)
print(p[r].Name) |
|
|
| Report Abuse |
|
|
hyyt8
|
  |
| Joined: 02 May 2007 |
| Total Posts: 1760 |
|
| |
|