SHARE
TWEET

Untitled

a guest Mar 20th, 2017 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. loop = true
  2. counterLoop = 0
  3. while loop == true do
  4.  
  5. term.setCursorPos(14,13)
  6. print("Please press enter to begin processing eggs.")
  7.  
  8. local sEvent, param = os.pullEvent("key")
  9.  
  10. if sEvent == "key" then
  11.  if param == 28 then
  12.  while counterLoop < 100
  13.   redstone.setOutput("back", true)
  14.   term.setCursorPos(14,13)
  15.   print("Processing")
  16.   term.setCursorPos(15,13)
  17.   print("<      >")
  18.   sleep(1)
  19.   term.setCursorPos(15,13)
  20.   print("<=     >")
  21.   sleep(1)
  22.   term.setCursorPos(15,13)
  23.   print("<==    >")
  24.   sleep(1)
  25.   term.setCursorPos(15,13)
  26.   print("<===   >")
  27.   sleep(1)
  28.   term.setCursorPos(15,13)
  29.   print("<====  >")
  30.   sleep(1)
  31.   term.setCursorPos(15,13)
  32.   print("<===== >")
  33.   sleep(1)
  34.   term.setCursorPos(15,13)
  35.   print("<======>")
  36.   sleep(1)
  37.   term.setCursorPos(15,13)
  38.   counterLoop = counterLoop + 7
  39.   term.clear()
  40. end
  41. redstone.setOutput("back", false)
  42. end  
  43. end
RAW Paste Data
Top