Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("right")
- i1 = paintutils.loadImage("ayrobot1")
- i2 = paintutils.loadImage("ayrobot2")
- i3 = paintutils.loadImage("ayrobot3")
- i4 = paintutils.loadImage("ayrobot4")
- i5 = paintutils.loadImage("ayrobot5")
- i6 = paintutils.loadImage("ayrobot6")
- p.setTextScale(2)
- term.redirect(p)
- function anim1()
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i1,-1,3)
- sleep(0.2)
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i2,-1,3)
- sleep(0.2)
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i3,-1,3)
- sleep(0.2)
- end
- function anim2()
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i4,-1,3)
- sleep(0.2)
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i5,-1,3)
- sleep(0.2)
- p.setBackgroundColor(colors.black)
- p.clear()
- paintutils.drawImage(i6,-1,3)
- sleep(0.2)
- end
- while true do
- anim1()
- anim2()
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement