daily pastebin goal


a guest Dec 9th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. while true do
  2.     term.clear()
  3.     term.setCursorPos(1,1)
  4.     print("What cable would you like to activate?")
  5.     local input = read()
  6.     print("How many times?")
  7.     local Num = tonumber( read())
  8.     for i=1,Num do
  9.         rs.setBundledOutput("back", colors[input])
  10.         sleep(0.2)
  11.         rs.setBundledOutput("back", 0)
  12.         sleep(0.2)
  13.     end
  14. end
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand