Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 02:52 PM |
i try'd this which i know was not going to work...
local button = script.Parent local num = 300 local i = num == -1 button.Text = "Wait ("..i.."'s)"
OT: Join this group to get Snipes on Limiteds from our members or sell snipes! http://www.roblox.com/My/Groups.aspx?gid=737295 |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2014 02:53 PM |
repeat for i = 300,0, -1 do script.Parent.Text = "Intermission in" ..i until i == 0
|
|
|
| Report Abuse |
|
|
badfitz99
|
  |
| Joined: 01 May 2010 |
| Total Posts: 5854 |
|
|
| 04 Jul 2014 02:53 PM |
easy
timee = 120
for i = timee,0,-1 do local Min = math.floor(i/60) local Sec = i-(60*Min) h.Value= Min..":"..(Sec<10 and "0" or "")..Sec wait(1) end |
|
|
| Report Abuse |
|
|
ohno1112
|
  |
| Joined: 23 Mar 2013 |
| Total Posts: 833 |
|
|
| 04 Jul 2014 02:54 PM |
local button = script.Parent local num = 300 for i = 1, 300 do button.Text = "Wait"..num-1.."'s" num = num - 1 wait(1) end |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 03:15 PM |
@mr
try'd yours, didn't work
repeat for i = 300,0, -1 do script.Parent.Text = "Wait (" ..i.. "'s)" scrip.Parent.Disabled = true end until i == 0 |
|
|
| Report Abuse |
|
|
FizBloxx
|
  |
| Joined: 18 Jan 2014 |
| Total Posts: 95 |
|
|
| 04 Jul 2014 03:17 PM |
countdownTime = 30
for i = countdownTime, 1, -1 do wait(1) end |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 03:21 PM |
nope ^
can someone make one where is does the countdown from 300 seconds and has it where it shows as text |
|
|
| Report Abuse |
|
|
FizBloxx
|
  |
| Joined: 18 Jan 2014 |
| Total Posts: 95 |
|
|
| 04 Jul 2014 03:22 PM |
countdownTime = 300
for i = countdownTime, 1, -1 do local hint = Instance.new("Hint",game.Workspace) --Hint or whatever hint.Name = "CountdownHint" hint.Text = "Game will begin in " ..i --Or whatever wait(1) end |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2014 03:25 PM |
local countdownTime = 300 local hint = Instance.new("Hint",game.Workspace) hint.Name = "CountdownHint"
for i = countdownTime, 1, -1 do hint.Text = "Game will begin in " ..i wait(1) end
hint:Destroy() --Does not instantiate "hint" each iteration |
|
|
| Report Abuse |
|
|
FizBloxx
|
  |
| Joined: 18 Jan 2014 |
| Total Posts: 95 |
|
|
| 04 Jul 2014 03:26 PM |
| Well, maybe he knows how to do it xD |
|
|
| Report Abuse |
|
|
FizBloxx
|
  |
| Joined: 18 Jan 2014 |
| Total Posts: 95 |
|
|
| 04 Jul 2014 03:27 PM |
@fireblad2
xD Oh yeah, I forgot to put the hint outside :P |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 03:28 PM |
I am trying to do this and it is not working...
countdownTime = 300 for i = countdownTime, 1, -1 do script.Parent.Text = "Wait (" ..i.. "'s)" wait(1) end |
|
|
| Report Abuse |
|
|
|
| 04 Jul 2014 03:35 PM |
| Is the script's parent a hint or a message? |
|
|
| Report Abuse |
|
|
badfitz99
|
  |
| Joined: 01 May 2010 |
| Total Posts: 5854 |
|
|
| 04 Jul 2014 03:39 PM |
I have already gave you it
timee = 120 h = Instance.new("Hint", Workspace) for i = timee,0,-1 do local Min = math.floor(i/60) local Sec = i-(60*Min) h.Text= Min..":"..(Sec<10 and "0" or "")..Sec wait(1) end |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 03:41 PM |
@Fire
it is a button
@bad
i only needs secs not mins and secs (not to advanced) |
|
|
| Report Abuse |
|
|
badfitz99
|
  |
| Joined: 01 May 2010 |
| Total Posts: 5854 |
|
|
| 04 Jul 2014 03:43 PM |
If you just want secs, then it's simple
120 = 2 minutes
60 = 1 minute
20 = 20 seconds
it's not that hard |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
|
| 04 Jul 2014 03:47 PM |
your script is made for mins and secs. plus i don't need a hint
it is a button and i need it where it changes that text.
|
|
|
| Report Abuse |
|
|
|
| 04 Jul 2014 03:49 PM |
Button *click* >Changes humanoid text? or >Creates message Which one?
I hate the LGBT. Those laser guided battle tanks are just too damn powerful. |
|
|
| Report Abuse |
|
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
| |
|
Rackm
|
  |
| Joined: 07 Jan 2014 |
| Total Posts: 718 |
|
| |
|