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
 

Re: cyicle trught Numbers

Previous Thread :: Next Thread 
hdtv13 is not online. hdtv13
Joined: 18 Sep 2012
Total Posts: 1628
06 Dec 2013 09:46 AM
how can i make this so it would just display each number from 59 to 1 for 1 sec??
thanks


while true do
Hints = {
"Music Starting In",
"59",
"58",
"57",
"56",
"55",
"54",
"53",
"52",
"51",
--ext ...

}

for i = 1,#Hints do
local h = Instance.new("Hint")
h.Parent = game.Workspace
h.Text = Hints[i]
h.Name = "Hint"
wait(1)
h:Destroy()
wait(5)
end
end
Report Abuse
hdtv13 is not online. hdtv13
Joined: 18 Sep 2012
Total Posts: 1628
06 Dec 2013 09:47 AM
cycle through Numbers**
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
06 Dec 2013 10:13 AM
while true do

--TABLE PART HERE


h = Instance.new("Hint", Workspace)
h.Name = "Hint"
for i = 1,#Hints do
h.Text = Hints[i]
wait(1)
end
wait(5)
h:Destroy()
end
Report Abuse
vlekje513 is not online. vlekje513
Joined: 28 Dec 2010
Total Posts: 9057
06 Dec 2013 10:17 AM
x = 1

while wait(1) do
"x"
x - 1
if x == then
break
Report Abuse
Geodesic is not online. Geodesic
Joined: 02 Jun 2013
Total Posts: 998
06 Dec 2013 10:23 AM
loops

for i = startingPoint, endingPoint, whatToCountBy do end

in this case it'd be

h = Instance.new("Hint", Workspace)
h.Name = "Hint"
for i = 60, 0, -1 do
h.Text = i
wait(1)
end
Report Abuse
CrniOrao is not online. CrniOrao
Joined: 12 Oct 2008
Total Posts: 2274
06 Dec 2013 10:30 AM
@Geodesic
That's fine, but didn't he want to do it via Table? :D
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