|
| 22 Dec 2014 06:42 PM |
| Can someone help me a make a timer as a HINT, where the script won't be a thousand lines long, or it won't flash every second? Thanks! |
|
|
| Report Abuse |
|
|
|
| 22 Dec 2014 06:49 PM |
for i = 1,10 do h = Instance.new("Hint",game.Workspace) h.Text = i wait(1) end end |
|
|
| Report Abuse |
|
|
Tynezz
|
  |
| Joined: 28 Apr 2014 |
| Total Posts: 4945 |
|
|
| 22 Dec 2014 06:50 PM |
| ^ Create 10 hints, nice idea. |
|
|
| Report Abuse |
|
|
| |
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 22 Dec 2014 07:28 PM |
local hint = Instance.new("Hint", workspace) for x = 1000, 0, -1 do wait(1) hint.Text = math.floor(x / 60) .. ":" .. ((x % 60) > 9 and (x % 60) or ("0" .. (x % 60))) end hint:Destroy() |
|
|
| Report Abuse |
|
|
devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
|
| 22 Dec 2014 07:29 PM |
function time()
H = Instance.new("Hint", game.Workspace)
timeLimit = 0 -- edit this
for i = 1, timeLimit do H.Text = tostring(i) end
H:remove()
end |
|
|
| Report Abuse |
|
|
devTools
|
  |
| Joined: 06 Sep 2014 |
| Total Posts: 7950 |
|
| |
|
|
| 22 Dec 2014 08:07 PM |
How do I get it for 5 minutes?
|
|
|
| Report Abuse |
|
|
128GB
|
  |
| Joined: 17 Apr 2014 |
| Total Posts: 8056 |
|
|
| 22 Dec 2014 08:53 PM |
Change this for x = 1000, 0, -1 do
to this for x = 300, 0, -1 do
|
|
|
| Report Abuse |
|
|