Advertisement
Muzze77

RuningPC

Nov 7th, 2015
197
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.60 KB | None | 0 0
  1. shell.run("clear")
  2. sides = rs.getSides()
  3. for nbr, side in pairs(sides) do
  4.  
  5.     if peripheral.isPresent(side) == true then
  6.         if peripheral.getType(side) == "monitor" then
  7.         sSide = side
  8.         end
  9.     end
  10. end
  11.  
  12.  
  13. mon = peripheral.wrap(sSide)
  14. mon.setBackgroundColor(colors.lime)
  15. mon.setTextColor(colors.black)
  16. mon.setTextScale(5)
  17. mon.clear()
  18.  
  19. text = "Willkommen in Manarola    | OWNER: Muzze77 | COOWNER: Shad0wStoRmX |  "
  20. textLen = string.len(text)
  21. tL = (0-textLen) -2
  22.  
  23. while true do
  24. x,y = mon.getSize()
  25. for v = x, tL , -1 do
  26.     mon.setCursorPos(v,1)
  27.     mon.clear()
  28.     mon.write(text)
  29.     sleep(0.15)
  30. end
  31.  
  32. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement