ZathegamE

monitor.lua

Jun 16th, 2024 (edited)
497
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. local mon = peripheral.find("monitor")
  2. mon.setTextScale(5)
  3. mon.setBackgroundColour(colors.black)
  4. mon.setTextColour(colors.white)
  5. pos = 3
  6. while true do
  7. mon.clear()
  8. mon.setCursorPos(pos,1)
  9. mon.write("+ Premiers Soins ")
  10. pos = pos - 1
  11. if pos == -16 then
  12. pos = 3
  13. end
  14. sleep(0.5)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment