Advertisement
Guest User

startup

a guest
Mar 29th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.72 KB | None | 0 0
  1. mon = peripheral.wrap("bottom");
  2. mon.setTextScale(5);
  3. mon.setTextColor(colors.red);
  4.  
  5. function cursor()
  6.   mon.setCursorPos(1,1);
  7. end;
  8.  
  9. while true do
  10.   count = 7;
  11.   for i = 1, 11 do
  12.     mon.clear();
  13.     mon.setCursorPos(count,1);
  14.     mon.write('Power Room');
  15.     count = count - 1;
  16.     sleep(.3);
  17.   end;
  18.   mon.setCursorPos(1,1);
  19.   mon.clear();
  20.   mon.write(' Room');
  21.   sleep(.3);
  22.   mon.clear();
  23.   cursor();
  24.   mon.write('Room');
  25.   sleep(.3);
  26.   mon.clear();
  27.   cursor();
  28.   mon.write('oom');
  29.   sleep(.3);
  30.   mon.clear();
  31.   cursor();
  32.   mon.write('om');
  33.   sleep(.3);
  34.   mon.clear();
  35.   cursor();
  36.   mon.write('m');
  37.   sleep(.3);
  38.   mon.clear();
  39.   cursor();
  40.   mon.write(' ');
  41.   sleep(.3);
  42.   cursor();
  43. end;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement