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: Number not Decreasing

Previous Thread :: Next Thread 
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
01 Sep 2013 12:10 AM
function Intermission()
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Time for Intermission!"
wait(3)
ITM:Destroy()
for i = 5,1,-1 do
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Intermission will end in " ..i.. " seconds." --This number stays at 5
wait(5)
ITM:Destroy()
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Time to play Get Ready!"
wait(3)
ITM:Destroy()
end
end
Report Abuse
robloslade is not online. robloslade
Joined: 14 Feb 2013
Total Posts: 138
01 Sep 2013 12:12 AM
?
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
01 Sep 2013 12:13 AM
Line 8 were it has ..i.. That number stays at 5 and goes away after 5 seconds, I want the number to decrease, I had it decreas earlier but im not sure what happened
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
01 Sep 2013 12:19 AM
Bump
Report Abuse
Iterations is not online. Iterations
Joined: 22 Jul 2013
Total Posts: 751
01 Sep 2013 12:24 AM
function Intermission()
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Time for Intermission!"
wait(3)
ITM:Destroy()
for i = 5,1,-1 do
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Intermission will end in " ..i.. " seconds." --This number stays at 5
wait(1)
end
ITM:Destroy()
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Time to play Get Ready!"
wait(3)
ITM:Destroy()
end
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Sep 2013 12:25 AM
@Iter, Non das inefficient use dis

function Intermission()
local ITM = Instance.new("Hint",game.Workspace)
ITM.Text = "Time for Intermission!"
wait(3)
for i = 5,1,-1 do
ITM.Text = "Intermission will end in " ..i.. " seconds." --This number stays at 5
wait(1)
end
ITM.Text = "Time to play Get Ready!"
wait(3)
ITM:Destroy()
end
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Sep 2013 12:26 AM
@Mad, You just forgot to end the for loop right after the wait. Instead of making the hint over and over, Use the same one then remove it when needed.
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
01 Sep 2013 12:28 AM
Hey, lawn. I have been making simple mistakes all day. I dont understand. I have been writing code all day and I keep making tiny unfixable mistakes(In my brain) and I post them here and im like ERMAGERD
Report Abuse
ninetailfox73 is not online. ninetailfox73
Joined: 11 Mar 2008
Total Posts: 1954
01 Sep 2013 12:32 AM
Lol everyone calls him lawn. xD
Report Abuse
madness725 is not online. madness725
Joined: 19 Apr 2011
Total Posts: 2058
01 Sep 2013 12:34 AM
^Saw it on another thread, I thought i will cal him dat 1 day
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Sep 2013 12:48 AM
@Madness, I make simply mistakes all the time. So when I make scripts and they don`t work the way I want to I take a short break and view them with fresh eyes.
Report Abuse
lampwnage121 is not online. lampwnage121
Joined: 20 Oct 2012
Total Posts: 4285
01 Sep 2013 01:25 AM
Dun call me lawn plox
I`m afraid if everyone calls me lawn someone will eventually try to mow me.
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