async ={frames = 0}
function WaitForSeconds(secs)
async.frames = async.frames + 1;
if(async.frames >= secs * consts.maxFrames)then
async.frames = 0
return true
end -- if async
return false
end