Advertisement
ezotose

TextOnScreen

Jul 17th, 2018
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. p = peripheral.wrap("back")
  2. p.clear()
  3. p.setTextScale(5)
  4.  
  5. text = {
  6. "Ceci est un text",
  7.  
  8. }
  9.  
  10. while true do
  11. p.clear()
  12. for k,v in ipairs(text) do
  13. p.setCursorPos(1,1)
  14. p.write(v)
  15. os.sleep(0.5)
  16. end
  17. os.sleep(0.5)
  18. for i=1,1 do
  19. os.sleep(0.5)
  20. end
  21. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement