Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
Voidion
|
  |
| Joined: 01 Aug 2011 |
| Total Posts: 2668 |
|
|
| 22 Sep 2013 03:03 PM |
for i = 500, 1, -1 do hint.Text = "Time remaining: "..i wait(1) end |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:05 PM |
Hint = Instance.new("Hint",Workspace) for i = 500,1,-1 do Hint.Text = tostring(i) wait(1) end Hint:Destroy() |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:09 PM |
... wat They should work... |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2013 03:10 PM |
local timer=500 Game.Workspace.Hint.Text="Time Remaining:"..timer while wait(1) do timer=timer-1 Game.Workspace.Hint.Text="Time Remaining"..timer end
Since the for loops didn't work try this. It's a bit more lengthy though. |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 22 Sep 2013 03:11 PM |
@Jack, Both of them work (as long as you 'define' hint in Voidion's).
|
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:12 PM |
| You forgot to use "tostring()". |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:14 PM |
Saviors never stops. tostring isn`t needed in this case. |
|
|
| Report Abuse |
|
|
Desperian
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 3371 |
|
|
| 22 Sep 2013 03:14 PM |
@Dennis, It would work with or without the use of 'tostring()'. |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2013 03:15 PM |
| Oh, and new instances of hints are named "Message". |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2013 03:16 PM |
| `Cept in his he didn`t Instance a new one. |
|
|
| Report Abuse |
|
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 22 Sep 2013 03:17 PM |
hint = Instance.new("Hint", workspace) for i = 500, 1, -1 do wait(1) hint.Text = "Time remaining: " ..tostring(i) end |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:18 PM |
Yes he did... I can read it with my own two eyeballs.
Also, the wiki indicates that the Text property of hints uses a string. http://wiki.roblox.com/index.php/Text_(Property) |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2013 03:21 PM |
for i = 500, 0, -1 do local Hint = Workspace:FindFirstChild("Countdown") or Instance.new("Hint", Workspace) Hint.Name = "Countdown" Hint.Text = "Time remaining: "..i wait(1) end Hint:Destroy() |
|
|
| Report Abuse |
|
|
|
| 22 Sep 2013 03:22 PM |
Don`t use Saviors, That loop never ends. Hints can use numbers to. |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|
|
| 22 Sep 2013 03:24 PM |
| I don't get how this can be so complicated. The first script I posted should work just fine. |
|
|
| Report Abuse |
|
|
Jack0414
|
  |
| Joined: 07 Feb 2012 |
| Total Posts: 21721 |
|
| |
|