How would I do a tempban script?

Yes, but os.time() is (apparently) more precise. Which one should I use? time - #2 by Jrelvas