Advertisement
Guest User

startup

a guest
Jul 23rd, 2014
144
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. local mon = peripheral.wrap("bottom")
  2. local rnd = math.random
  3. local tX, tY = mon.getSize()
  4.  
  5. while true do
  6.   for y = 1,tY do
  7.     for x = 1,tX do
  8.       mon.setCursorPos(x,y)
  9.       mon.setBackgroundColor(2^rnd(1,15))
  10.       mon.write(" ")
  11.     end
  12.   end
  13.   os.sleep(0)
  14. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement