Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- os.loadAPI(static)
- while true do
- term.clear()
- static.fastStatic()
- function hole()
- x,y = term.getSize()
- middley = y/2
- middlex = x/2
- holesize = 1
- term.setCursorPos(middlex - holesize,middley + holesize)
- write("/")
- for i=1,holesize do
- write("-")
- end
- print("\\")
- prog = 0
- for i=1,holesize do
- setCursorPos(middlex - holesize,middley + holesize - prog)
- write("|")
- for i=1,holesize do
- write(" ")
- end
- wrute("|")
- prog = prog + 1
- end
- term.setCursorPos(middlex - holesize,middley - holesize)
- write("/")
- for i=1,holesize do
- write("-")
- end
- print("\\")
- end
- end
- hole()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement