|
| 25 Jul 2013 08:44 PM |
How would I make a hint that counts down from 60 to 1 without having to type
EX: I dont wanna type this
h = Instance.new("Hint", game.Workspace)
h.Text = ("New game starting in 60 seconds") wait(1) h.Text = ("New game starting in 59 seconds") |
|
|
| Report Abuse |
|
|
| |
|
Soquick
|
  |
| Joined: 01 Nov 2012 |
| Total Posts: 1497 |
|
|
| 25 Jul 2013 08:58 PM |
' function newgame() h = Instance.new("Hint", game.Workspace) repeat local num = tonumber(60) for i = 1, -1, #num do wait(1) h.Text = ("New game starting in "..i.." seconds") end until num == 0 end'--Jut call a newgame() in the script to start the hint |
|
|
| Report Abuse |
|
|
| |
|
Java3D
|
  |
| Joined: 29 Jul 2012 |
| Total Posts: 1229 |
|
|
| 25 Jul 2013 10:39 PM |
local h = Instance.new("Hint",script) for n=60,1,-1 do h.Text = "Count down... "..n wait(1) end |
|
|
| Report Abuse |
|
|