Can anybody tell me how to create a simple timer, without using a message box?

ie - Cause the script to only wait a specified time for a input before moving on regardless.