-- by togagames for LuaSnippets.com and (user @) CoreGames.com function _sayHello() print("HELLO") end local _helloTask = Task.Spawn(function() _sayHello() end) _helloTask.repeatCount = 10-- set to -1 for infinite loops _helloTask.repeatInterval = 1
-- by togagames for LuaSnippets.com and (user @) CoreGames.com function _sayHello() print("HELLO") end local _helloTask = Task.Spawn(function() _sayHello() end) _helloTask.repeatCount = 10-- set to -1 for infinite loops _helloTask.repeatInterval = 1