Advertisement
Guest User

startup

a guest
Oct 17th, 2020
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.29 KB | None | 0 0
  1. term.setCursorPos(1,1)
  2. term.setBackgroundColor(128)
  3. term.setTextColor(1)
  4. term.clear()
  5. print("Benvenuti all'ingrosso di Neihemiah")
  6. print("1. Coal coke")
  7. print("2. Creosoto")
  8. sc = read()
  9.  
  10. if sc == "1" then
  11. term.setBackgroundColor()
  12. elseif sc == "2" then
  13. print("2")
  14. else
  15. os.reboot()
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement