If you create a timer, it would be simple. Something like-a this:
Code:
if timer:IsPastTime(2000) and not timer.IsPastTime(10000) then
--code--
end
You can probably guess, but putting that in your update will check to see if the time is between 2000 ms and 10000 ms since creation of the timer. You can also call timer:Reset(); (I think) to reset the timer.