|
| 24 Mar 2012 09:44 PM |
test = 0 repeat test = test + 2:wait(0.5) print(test) until test >= 21
I never used :wait(0.5), so... XD, please help. |
|
|
| Report Abuse |
|
|
| |
|
|
| 24 Mar 2012 09:47 PM |
| Output: Workspace.Repeat:2: unexpected symbol near ':' |
|
|
| Report Abuse |
|
|
| |
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 24 Mar 2012 09:50 PM |
| You have a colon in your line. Go to SH next time. |
|
|
| Report Abuse |
|
|
|
| 24 Mar 2012 09:52 PM |
| Oh sorry I thought I was! XD, also I saw Stravant use a :wait()... So I thought it would work. |
|
|
| Report Abuse |
|
|
Ozzypig
|
  |
| Joined: 27 Mar 2008 |
| Total Posts: 4906 |
|
|
| 24 Mar 2012 09:56 PM |
That's only for use with events to wait until the event has occurred. i.e:
workspace.ChildAdded:wait() |
|
|
| Report Abuse |
|
|
oxcool1
|
  |
| Joined: 05 Nov 2009 |
| Total Posts: 15444 |
|
| |
|