local breakCombo = function()
wait(1.2)
combo = 1
print("Broke combo!")
coroutine.yield()
end
coroutine.wrap(breakCombo)() -- Start 1 coroutine
coroutine.wrap(breakCombo)() -- Start another coroutine
local breakCombo = function(combo)
if combo == combo then
wait(1.2)
combo = 1
print("Broke combo!")
coroutine.yield()
else return end
end
coroutine.wrap(breakCombo)(arg1) -- Start 1 coroutine with param
local cor = coroutine.wrap(breakCombo) -- Start another coroutine with param/ different style
yielded_ret = cor(arg2)
4 Likes