|
| 28 Dec 2011 06:44 PM |
function whatever() randomnumber = math.randomseed(tick()) for i = 1, 10 do randomnumber = math.random(1,10) wait(1) if randomnumber == 1 do print "Random number equals 1! All is well!" elseif randomnumber == 2 do print "Random number equals 2! Selfdestruct!!" end end end end
so on so forth. Would that be right?
|
|
|
| Report Abuse |
|
|
TameDrone
|
  |
| Joined: 09 Dec 2010 |
| Total Posts: 1006 |
|
| |
|
|
| 28 Dec 2011 07:14 PM |
I have, i guess i didnt ask it right. Its not working. Whats WRONG with it? |
|
|
| Report Abuse |
|
|
NeonBlox
|
  |
| Joined: 19 Oct 2008 |
| Total Posts: 1462 |
|
|
| 28 Dec 2011 07:18 PM |
| Did you call the function? |
|
|
| Report Abuse |
|
|
|
| 28 Dec 2011 07:42 PM |
Weeellll...no. No! NO! Its fixed! Thnx!
~Ninja~ |
|
|
| Report Abuse |
|
|