bobmarley12345

Untitled

Jan 6th, 2019
105
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon = peripheral.wrap("back")
  2. mon.setTextScale(4)
  3. strtpos = 12
  4. speed = 0.2
  5. text = "Rush's Shop!"
  6.  
  7. pos = strtpos
  8. poslimit = 0 - strtpos
  9.  
  10. while true do
  11.  mon.clear()
  12.  mon.setBackgroundColor(32768)
  13.  mon.setTextColor(16384)
  14.  mon.setCursorPos(pos, 2)
  15.  mon.write(text)
  16.  sleep(0.3)
  17.  if pos == poslimit then
  18.   pos = strtpos
  19.  else
  20.   pos = pos - 1
  21.  end
  22. end
RAW Paste Data