Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local component = require("component")
- tape = component.tape_drive
- term = require("term")
- gpu = component.gpu
- term.clear()
- gpu.setForeground(0xffffff)
- gpu.setBackground(0x9933ff)
- gpu.setResolution(49,23)
- term.clear()
- term.setCursor(2,10)
- os.sleep(2)
- print("Merci d'avoir choisi L'autoLooper d'EnderCorpTM")
- os.sleep(1)
- term.setCursor(19,11)
- print("Lancement...")
- os.sleep(1)
- tape.setSpeed(2)
- os.sleep(1)
- tape.seek(-math.huge)
- tape.play()
- local i = 1
- repeat
- term.clear()
- gpu.setBackground(0x0000ff)
- gpu.fill(1, 1, 49, 23, " ")
- gpu.setBackground(0x9933ff)
- gpu.fill(3, 2, 47, 22, " ")
- term.setCursor(3,2)
- print("played the music")
- term.setCursor(20,2)
- print( i )
- term.setCursor(23,2)
- print("time")
- term.setCursor(35,22)
- gpu.setForeground(0x66ffff)
- print("Version 1.3.2")
- tape.play()
- os.sleep(339)
- tape.seek(-math.huge)
- i = i + 1
- until i == 150
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement