Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 14 Aug 2013 01:10 PM |
tab = { "Map1"; "Map2"; }
check = tab[math.random(1, #tab)]
game.Lighting:findFirstChild(check)
|
|
|
| Report Abuse |
|
|
|
| 14 Aug 2013 01:21 PM |
That would work. I'm assuming you'll want to save it as a variable though, so something like this
Map = game.Lighting:FindFirstChild(check)
-[::ƧѡÎḾḠΰῩ::]-[::Helper of Scripting and Writer of Wikis::]- |
|
|
| Report Abuse |
|
|
Infocus
|
  |
| Joined: 28 Apr 2011 |
| Total Posts: 8022 |
|
|
| 14 Aug 2013 01:24 PM |
| Shanks SwimGuy, the swimmer of SH and writer of wikis? |
|
|
| Report Abuse |
|
|