The amount of times I needed to cancel a coroutine on roblox... I think it'd be very helpful.
coroutine.resume(variable) - loop
if blank == blank then
coroutine.terminate(variable) -- stops coroutine.
end
Sometimes I can't add an if statement/break inside of a loop, and I really need something like this. |