Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m=peripheral.wrap("right")
- old=term.redirect(m)
- w,h=term.getSize()
- local fy=paintutils.loadImage("fuckyou")
- function clr()
- term.setBackgroundColor(1)
- term.clear()
- for i1=0,math.ceil(h/7) do
- for i2=0,math.ceil(w/36) do
- paintutils.drawImage(fy,i2*36,i1*7)
- end
- end
- term.setCursorPos(1,1)
- end
- local slot=1
- local x=w/2-9
- local y=h/2
- while true do
- os.sleep(0.1)
- if slot<3 or slot>4 then
- os.sleep(0.1)
- end
- clr()
- paintutils.drawImage(paintutils.loadImage("flip"..slot),x,y)
- slot=slot+1
- if slot>6 then
- local ss=paintutils.loadImage("stopSign")
- paintutils.drawImage(ss,5,4)
- paintutils.drawImage(ss,w-28,4)
- os.sleep(2)
- slot=1
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement