JustDoesGames

Paint Drying Game

Jul 14th, 2020
1,102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.45 KB | None | 0 0
  1. --[[
  2.  
  3. Paint Drying
  4. Just Does Games
  5. 7/14/2020 4:00 PM
  6.  
  7. ]]--
  8. local w,h = term.getSize()
  9. term.setBackgroundColor(colors.white)
  10. term.setTextColor(colors.black)
  11. term.clear()
  12. term.setCursorPos(1,h) write("Press 'q' to stop watching paint dry.")
  13. repeat a,b = os.pullEvent("key") until b == keys.q
  14. term.setBackgroundColor(colors.black)
  15. term.setTextColor(colors.white)
  16. term.clear()
  17. term.setCursorPos(1,1)
  18. print("Thank you for watching paint dry") sleep(.5)
Advertisement
Add Comment
Please, Sign In to add comment