Guest User

monitor.lua

a guest
Jun 16th, 2024
142
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.27 KB | None | 0 0
  1. mon = peripheral.wrap("top")
  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("+ First Aid ")
  10. pos = pos - 1
  11. if pos == -11 then
  12. pos = 3
  13. end
  14. sleep(0.5)
  15. end
Advertisement
Add Comment
Please, Sign In to add comment