Advertisement
MagmaLP

1

Mar 14th, 2023 (edited)
802
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. mon = peripheral.wrap("top")
  2. mon.setTextColor(colors.lightGray)
  3. mon.setTextScale(1)
  4. mon.setCursorPos(1,1)
  5. mon.clear()
  6.  
  7. function msg(spalte, zeile, text)
  8.   mon.setCursorPos(spalte,zeile)
  9.   text = mon.write(text)
  10. end
  11.  
  12. mon.setTextColor(colors.lightGray)
  13. msg(1,01,"1. Buy")
  14. msg(1,02,"50 Ore")
  15. msg(1,03,"Here")
  16. msg(1,07,"2. Sell")
  17. msg(1,08,"50 Ore")
  18. msg(1,09,"Here")
  19. msg(1,11,"to get")
  20. msg(1,12,"100k")
  21. msg(1,13,"Boxes")
  22.  
  23. mon.setTextColor(colors.yellow)
  24. while true do
  25.   msg(1,04,"       ")
  26.   msg(1,10,"       ")
  27.   sleep(1)
  28.   msg(1,04,"->")
  29.   msg(1,10,"->")
  30.   sleep(1)
  31.   msg(1,04,"-->")
  32.   msg(1,10,"-->")
  33.   sleep(1)
  34.   msg(1,04,"--->")
  35.   msg(1,10,"--->")
  36.   sleep(1)
  37.   msg(1,04,"---->")
  38.   msg(1,10,"---->")
  39.   sleep(1)
  40.   msg(1,04,"----->")
  41.   msg(1,10,"----->")
  42.   sleep(1)
  43.   msg(1,04,"------>")
  44.   msg(1,10,"------>")
  45.   sleep(1)
  46. end
  47.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement