Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function os.sleep(timeout)
- checkArg(1, timeout, "number", "nil")
- local deadline = computer.uptime() + (timeout or 0)
- repeat
- event.pull(deadline - computer.uptime())
- until computer.uptime() >= deadline
- end
- gpu.set(1,1,"Hello World!")
- os.sleep(5000)
- gpu.set(1,1,"Hello World!")
Add Comment
Please, Sign In to add comment