Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local imageDir = "/images/"
- local images = fs.list(imageDir)
- local monitorPosition = "right"
- local continue = true
- local monitor = peripheral.wrap(monitorPosition)
- local oldTerm = term.current()
- term.redirect(monitor)
- while continue do
- for _, fileName in pairs(images) do
- paintutils.drawImage(paintutils.loadImage(imageDir .. fileName), 1, 1)
- sleep(1)
- term.clear()
- end
- end
- term.redirect(oldTerm)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement