Advertisement
Benn200022

Untitled

Aug 22nd, 2019
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. local m = peripheral.wrap("left")
  2.  
  3. local perc = 0
  4. while true do
  5. m.clear()
  6. m.setTextScale(1)
  7. m.setCursorPos(1,1)
  8. m.setTextColour(512)
  9. m.setBackgroundColor(colors.lime)
  10. for i=1, perc do
  11. m.write(" ")
  12. end
  13. m.setBackgroundColor(colors.black)
  14. perc = perc + 1
  15. if perc > 200 then perc = 0 end
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement