Advertisement
Theo123456

Text defilant

Aug 15th, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. mon = peripheral.wrap("back")
  2. mon.setTextScale(4)
  3. text = "Mars launch: 20s"
  4. pos = 20
  5. while true do
  6. mon.clear()
  7. mon.setCursorPos(pos, 1)
  8. mon.write(text)
  9. sleep(0.2)
  10. if pos == -21 then
  11. pos = 20
  12. else
  13. pos = pos - 1
  14. end
  15. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement