Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- catx = 38
- caty = 8
- while true do
- term.clear()
- term.setBackgroundColor(colors.black)
- function reload()
- term.clear()
- paintutils.drawPixel(catx, caty, colors.brown)
- for i = 4, 12 do
- term.setBackgroundColor(colors.black)
- term.setCursorPos(1, i)
- print("I")
- end
- for i2 = 4, 12 do
- term.setBackgroundColor(colors.black)
- term.setCursorPos(39, i2)
- print("I")
- end
- end
- reload()
- if catx > 2 then
- sleep(0.04)
- catx = catx - 1
- term.setBackgroundColor(colors.black)
- reload()
- term.setBackgroundColor(colors.black)
- elseif catx == 2 then
- for i3 = 1, 38 do
- sleep(0.04)
- catx = catx + 1
- term.setBackgroundColor(colors.black)
- reload()
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement