|
| 09 Feb 2014 06:18 PM |
while true do m = math.random(1,2) for i = 20,0,-1 do wait(.5) h.Text = i.. " seconds until battle start" wait(.5) if i == 0 then end
if m==1 then h.Text = ""
This isnt the whole script but It doesn't wait the 20 seconds under the while true do, It gives "20 seconds until battle start" but then right away continues to the if m == 1 thing, how do I make it wait the full 20 seconds?
|
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Feb 2014 06:31 PM |
____________________________________________________________________________________ while true do m = math.random(1,2)
for i = 20,0,-1 do wait(.5) h.Text = i.. " seconds until battle start" wait(.5) if i == 0 then end
if m==1 then h.Text = ""
This isnt the whole script but It doesn't wait the 20 seconds under the while true do, It gives "20 seconds until battle start" but then right away continues to the if m == 1 thing, how do I make it wait the full 20 seconds? __________________________________________________________________________________ while true do m = math.random(1,2)
for i = 20,0,-1 do wait(.5) h.Text = i.. " seconds until battle start" wait(20) if i == 0 then end
if m==1 then h.Text = "" __________________________________________________________________________________ Make the wait under h.text 20 instead of .5
|
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:35 PM |
| still stuck at the " 20 seconds until battle start" part |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:36 PM |
| What do you mean by Still Stuck? |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:36 PM |
| It says 20 seconds until battle start for 20 seconds, doewsnt go down from 20 to 19 to 18 ect |
|
|
| Report Abuse |
|
|
| |
|
|
| 09 Feb 2014 06:39 PM |
| Does it matter if the message is at the black bar on the top of the screen, or do you want it in the middle of the screen? Cause if you want it on the top, i know an easier script. |
|
|
| Report Abuse |
|
|
|
| 09 Feb 2014 06:39 PM |
| If its okay on the top, i'll need the full script. |
|
|
| Report Abuse |
|
|
| |
|
| |
|
| |
|