|
| 05 Aug 2011 12:23 AM |
How would I make the messages come up?
And yes, I know random is not defined yet.
--Script made by blueknight02
wait(20) h = Instance.new("Hint") h.Parent = workspace
h.Text ="The game will now begin in 20 seconds" wait(1) h.Text ="The game will now begin in 19 seconds" wait(1) h.Text ="The game will now begin in 18 seconds" wait(1) h.Text ="The game will now begin in 17 seconds" wait(1) h.Text ="The game will now begin in 16 seconds" wait(1) h.Text ="The game will now begin in 15 seconds" wait(1) h.Text ="The game will now begin in 14 seconds" wait(1) h.Text ="The game will now begin in 13 seconds" wait(1) h.Text ="The game will now begin in 12 seconds" wait(1) h.Text ="The game will now begin in 11 seconds" wait(1) h.Text ="The game will now begin in 10 seconds" wait(1) h.Text ="The game will now begin in 9 seconds" wait(1) h.Text ="The game will now begin in 8 seconds" wait(1) h.Text ="The game will now begin in 7 seconds" wait(1) h.Text ="The game will now begin in 6 seconds" wait(1) h.Text ="The game will now begin in 5 seconds" wait(1) h.Text ="The game will now begin in 4 seconds" wait(1) h.Text ="The game will now begin in 3 seconds" wait(1) h.Text ="The game will now begin in 2 seconds" wait(1) h.Text ="The game will now begin in 1 seconds" wait(1) h.Text ="The game will now begin." wait(1) h.Text ="Map being selected..." wait(1) h.Text ="The map" ..random.." has been picked!" wait(1) h:Remove() end
--------------------------------[Output]----------------------------------------
Fri Aug 05 01:19:34 2011 - Running Script "Workspace.Script" Fri Aug 05 01:19:34 2011 - Workspace.Script:57: 'eof' expected near 'end' |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 12:25 AM |
| The end at the bottom is the problem. Get rid of it. |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 12:27 AM |
I'm going to make this more efficient...
wait(20) h = Instance.new("Hint") h.Parent = workspace
for i = 20, 1, -1 do h.Text = "The game will now begin in " .. i .. " seconds" wait(1) end
h.Text ="The game will now begin." wait(1) h.Text ="Map being selected..." wait(1) h.Text ="The map" ..random.." has been picked!" wait(1) h:Remove()
|
|
|
| Report Abuse |
|
|
|
| 05 Aug 2011 12:28 AM |
Oh, thanks.
For some reason, I thought I was trying to make some other function. |
|
|
| Report Abuse |
|
|
| |
|
|
| 05 Aug 2011 12:29 AM |
| @Electric, I tried to create the loop but for some reason it wouldn't work. I didn't really want to do it the way I showed previously, thank you alot. :) |
|
|
| Report Abuse |
|
|
| |
|