|
| 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 |
|
|
| |
|
|
| 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 |
|
|
| |
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 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 |
|
|
|
| 01 Sep 2013 12:32 AM |
| Lol everyone calls him lawn. xD |
|
|
| Report Abuse |
|
|
|
| 01 Sep 2013 12:34 AM |
| ^Saw it on another thread, I thought i will cal him dat 1 day |
|
|
| Report Abuse |
|
|
|
| 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 |
|
|
|
| 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 |
|
|