Guest User

Untitled

a guest
Dec 9th, 2018
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  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
Add Comment
Please, Sign In to add comment