Aeropiama
|
  |
| Joined: 21 Jul 2013 |
| Total Posts: 897 |
|
|
| 05 Aug 2013 07:16 PM |
I finally got a script I've been trying to write for an hour to work!
myCoroutine = coroutine.create(function(num) while true do num = math.random(10) wait(1) print(num) end end)
coroutine.resume(myCoroutine, nil) wait(1.5)
while true do print("Hello") wait(1) |
|
|
| Report Abuse |
|
|
|
| 05 Aug 2013 07:22 PM |
| very nice i'll take 20 ʘ‿ʘ |
|
|
| Report Abuse |
|
|
Aeropiama
|
  |
| Joined: 21 Jul 2013 |
| Total Posts: 897 |
|
|
| 05 Aug 2013 07:25 PM |
| Alright but I don't think it's actually useful for anything unless you want to use this as a sort of template to make something that's actually useful. :/ |
|
|
| Report Abuse |
|
|
| |
|
129K
|
  |
| Joined: 23 Aug 2011 |
| Total Posts: 19010 |
|
| |
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
| |
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
| |
|
booing
|
  |
| Joined: 04 May 2009 |
| Total Posts: 6594 |
|
|
| 05 Aug 2013 08:26 PM |
| Now, how did I know a VAK would post in a thread including dots? :3 |
|
|
| Report Abuse |
|
|
woot3
|
  |
| Joined: 10 Nov 2008 |
| Total Posts: 3599 |
|
|
| 05 Aug 2013 08:53 PM |
coroutine.resume(myCoroutine) wait(.5)
plawz |
|
|
| Report Abuse |
|
|
bohdan77
|
  |
| Joined: 10 Aug 2008 |
| Total Posts: 7944 |
|
| |
|
Xnite515
|
  |
| Joined: 18 Feb 2011 |
| Total Posts: 22763 |
|
|
| 05 Aug 2013 10:35 PM |
" been trying to write for an hour to work"
this forum is too advanced for you sir |
|
|
| Report Abuse |
|
|