generic image
Processing...
  • Games
  • Catalog
  • Develop
  • Robux
  • Search in Players
  • Search in Games
  • Search in Catalog
  • Search in Groups
  • Search in Library
  • Log In
  • Sign Up
  • Games
  • Catalog
  • Develop
  • Robux
   
ROBLOX Forum » Game Creation and Development » Scripting Helpers
Home Search
 

[ Content Deleted ]

Previous Thread :: Next Thread 
JxMonsterz is not online. JxMonsterz
Joined: 29 Jan 2011
Total Posts: 428
02 Mar 2014 09:29 PM
Than doing this:

(im using examples below)

"59"
"58"
"57"
"56"
ect
Report Abuse
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
02 Mar 2014 09:31 PM
This isn't scripting.
Report Abuse
PuNiShEr5665 is not online. PuNiShEr5665
Joined: 12 Aug 2009
Total Posts: 33713
02 Mar 2014 09:31 PM
How else would you countdown?
Report Abuse
Goulstem is not online. 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
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
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
FreeScriptMaker is not online. FreeScriptMaker
Joined: 29 Nov 2013
Total Posts: 2275
02 Mar 2014 09:33 PM
More like

for i = 1,60 do
print(i)
end
Report Abuse
JxMonsterz is not online. JxMonsterz
Joined: 29 Jan 2011
Total Posts: 428
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
1billybob1 is not online. 1billybob1
Joined: 15 Jun 2008
Total Posts: 4852
02 Mar 2014 09:34 PM
Try mine, it should be what you're looking for.
Report Abuse
JxMonsterz is not online. JxMonsterz
Joined: 29 Jan 2011
Total Posts: 428
02 Mar 2014 09:34 PM
how df would I make this work with a gui/surface gui
Report Abuse
PuNiShEr5665 is not online. PuNiShEr5665
Joined: 12 Aug 2009
Total Posts: 33713
02 Mar 2014 09:35 PM
make it continually change the Text Value or whatever value you want it to change
Report Abuse
Goulstem is not online. 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
JxMonsterz is not online. JxMonsterz
Joined: 29 Jan 2011
Total Posts: 428
02 Mar 2014 09:39 PM
Alright, thanks.
Report Abuse
Goulstem is not online. Goulstem
Joined: 04 Jul 2012
Total Posts: 7177
03 Mar 2014 05:45 PM
I lol'd
Report Abuse
ForeverDev is not online. ForeverDev
Joined: 04 Oct 2008
Total Posts: 13300
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 is not online. Vexedly
Joined: 15 Sep 2006
Total Posts: 7011
03 Mar 2014 05:53 PM
[ Content Deleted ]
Report Abuse
Previous Thread :: Next Thread 
Page 1 of 1
 
 
ROBLOX Forum » Game Creation and Development » Scripting Helpers
   
 
   
  • About Us
  • Jobs
  • Blog
  • Parents
  • Help
  • Terms
  • Privacy

©2017 Roblox Corporation. Roblox, the Roblox logo, Robux, Bloxy, and Powering Imagination are among our registered and unregistered trademarks in the U.S. and other countries.



Progress
Starting Roblox...
Connecting to Players...
R R

Roblox is now loading. Get ready to play!

R R

You're moments away from getting into the game!

Click here for help

Check Remember my choice and click Launch Application in the dialog box above to join games faster in the future!

Gameplay sponsored by:
Loading 0% - Starting game...
Get more with Builders Club! Join Builders Club
Choose Your Avatar
I have an account
generic image