|
| 02 Mar 2014 09:29 PM |
Than doing this:
(im using examples below)
"59" "58" "57" "56" ect |
|
|
| Report Abuse |
|
|
| |
|
|
| 02 Mar 2014 09:31 PM |
| How else would you countdown? |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 02 Mar 2014 09:32 PM |
local derps = 60
for i = 1,60,-1 do print(derps[i]) wait(1) end
|
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:32 PM |
count = 100
for i=1, count do count = count-1 end
another way, but less efficient:
count = 100
repeat count = count-1 until count==0 |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:33 PM |
More like
for i = 1,60 do print(i) end |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:33 PM |
It's an example.
in scripting it would be like
script.Parent.TextBox.Text = ("59") wait(1) script.Parent.TextBox.Text = ("58") wait(1) script.Parent.TextBox.Text = ("57") wait(1) script.Parent.TextBox.Text = ("56") wait(1) script.Parent.TextBox.Text = ("55") wait(1) script.Parent.TextBox.Text = ("54") wait(1) script.Parent.TextBox.Text = ("53") wait(1)
|
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:34 PM |
| Try mine, it should be what you're looking for. |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:34 PM |
| how df would I make this work with a gui/surface gui |
|
|
| Report Abuse |
|
|
|
| 02 Mar 2014 09:35 PM |
| make it continually change the Text Value or whatever value you want it to change |
|
|
| Report Abuse |
|
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
|
| 02 Mar 2014 09:36 PM |
local derps = 60
for i = 1,60,-1 do script.Parent.TextBox.Text = derps[i] wait(1) end
or
for i = 1,999,.1 do script.Parent.TextBox.Text = math.random(0,10000) wait(.1) end |
|
|
| Report Abuse |
|
|
| |
|
Goulstem
|
  |
| Joined: 04 Jul 2012 |
| Total Posts: 7177 |
|
| |
|
|
| 03 Mar 2014 05:47 PM |
Use a function
function countdown(x) for i = 1, x do print(x - i) wait(1) end end
countdown(60) >>60, 59, 58, 57... |
|
|
| Report Abuse |
|
|
Vexedly
|
  |
| Joined: 15 Sep 2006 |
| Total Posts: 7011 |
|
| |
|