Advertisement
ravensniper72

Timer

Dec 12th, 2020 (edited)
195
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local function wait()
  2. s = 0
  3. m = 45
  4. g = ""
  5. term.clear()
  6. term.setCursorPos(1,1)
  7. print("Waiting for crops to grow")
  8. term.setCursorPos(1,3)
  9. for i=0,2700 do
  10.  
  11. if s<0 then
  12. m=m-1
  13. s=59
  14. end
  15.  
  16. if s<10 then
  17. g = "0"
  18. else
  19. g = ""
  20. end
  21. wait()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement