SHOW:
|
|
- or go back to the newest paste.
| 1 | - | mon = peripheral.wrap("top")
|
| 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("+ First Aid ")
|
| 9 | + | mon.write("+ Premiers Soins ")
|
| 10 | pos = pos - 1 | |
| 11 | - | if pos == -11 then |
| 11 | + | if pos == -16 then |
| 12 | pos = 3 | |
| 13 | end | |
| 14 | sleep(0.5) | |
| 15 | end |