Advertisement
Guest User

Challenge2.lua

a guest
Mar 22nd, 2018
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.31 KB | None | 0 0
  1. --This program has 2 errors.
  2.  
  3. term.setBackgroundColor(colors.red)
  4. term.setTextColor(colors.blue)
  5.  
  6. while true do
  7.  
  8.     print(Password?)
  9.    
  10.     if input == bacon then
  11.    
  12.         redstone.setOutput("back", true)
  13.        
  14.         sleep(5)
  15.        
  16.         rs.setOutput("back", false)
  17.        
  18.    
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement