|
| 07 Sep 2012 11:44 AM |
I am a beginner scripter, and I'm scripting my own base, and I have come with this problem making a message loop. It works, however when it gets to the last message, it does not loop. This is what I mean:
if true then script.Parent.Message1.Visible = true wait(3) script.Parent.Message1.Visible = false wait(1) script.Parent.Message2.Visible = true wait(4) script.Parent.Message2.Visible = false wait(1) script.Parent.Message3.Visible = true wait(4) script.Parent.Message3.Visible = false wait(1) end
|
|
|
| Report Abuse |
|
|
|
| 07 Sep 2012 11:53 AM |
while true do script.Parent.Message1.Visible = true wait(3) script.Parent.Message1.Visible = false wait(1) script.Parent.Message2.Visible = true wait(4) script.Parent.Message2.Visible = false wait(1) script.Parent.Message3.Visible = true wait(4) script.Parent.Message3.Visible = false wait(1) end
A while loop is what you want. It makes sense, too. While something is true, run this code over and over again. |
|
|
| Report Abuse |
|
|
|
| 07 Sep 2012 11:57 AM |
Thanks, I diddn't notice that. -SSB |
|
|
| Report Abuse |
|
|