io.write("Enter the amout of time to sleep in milliseconds: ")
local ms = io.read("n")
print("Sleeping...")
os.sleep(ms) -- pause this thread for 'ms' milliseconds.
print("Awake!")