Crow_Crow
|
  |
| Joined: 27 Feb 2016 |
| Total Posts: 342 |
|
|
| 19 Jun 2016 07:53 PM |
is there a way to make a function run with the script not waiting for it to finish? i.e.
function wew() wait(1) print("wew") end
function wew2() wait(1) print("even more wew found") end
function wew3() wait(1) print("ultimate wew achieved") end
while true do wait() wew() wew2() wew3() end
for all 3 wew functions to go at the same time without the 'wait(1)' taking effect in the 'while true do' function? |
|
|
| Report Abuse |
|
| |
|
| 19 Jun 2016 08:04 PM |
| THAT'S what spawn() does??? I've been using coroutines for everything! |
|
|
| Report Abuse |
|