Skip to content

Instantly share code, notes, and snippets.

@JesterXL
Created May 30, 2014 19:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save JesterXL/5f83a47d277d0a595775 to your computer and use it in GitHub Desktop.
Save JesterXL/5f83a47d277d0a595775 to your computer and use it in GitHub Desktop.
Stop Start of Process
function stop()
if circlespawner ~= nil then
timer.cancel(spawnCircle)
circlespawner = nil
end
end
function start()
stop()
circlespawner = timer.performWithDelay(1000, spawnCircle,0)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment