Advertisement
Guest User

startup

a guest
Nov 26th, 2014
134
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.48 KB | None | 0 0
  1. m = peripheral.wrap("back")
  2. m.setBackgroundColor(colors.red)
  3. m.clear()
  4. m.setTextScale(2)
  5. m.setCursorPos(1,5)
  6. m.write("Cedou/Lox/Even")
  7. t = { colors.red, colors.green, colors.blue, colors.cyan, colors.red }
  8. i = 1
  9. while true do
  10. if i < 5 then
  11. m.clear()
  12. m.setBackgroundColor(t[i])
  13. m.clear()
  14. m.setTextColor(t[i+1])
  15. m.setTextScale(2)
  16. m.setCursorPos(6,4)
  17. m.write("Vers")
  18. m.setCursorPos(1,5)
  19. m.write("Cedou/Lox/Even")
  20. sleep(0.5)
  21. i = i + 1
  22. end
  23. if i >= 5 then
  24. i = 1
  25. end
  26. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement