Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function virus()
- term.clear()
- sleep(0.3)
- term.setCursorPos(18,1)
- term.setTextColor(colors.red)
- io.write("VIRUS ALERT!!!")
- sleep(0.3)
- end
- x,y = term.getCursorPos()
- function fail()
- term.setBackgroundColor(colors.white)
- term.setTextColor(colors.black)
- for i = 1,35 do
- term.clear()
- term.setCursorPos(i,1)
- io.write("system failure...")
- sleep(0.001)
- end
- end
- while true do
- term.clear()
- term.setBackgroundColor(colors.white)
- for i = 1,3 do
- virus()
- end
- fail()
- end
Advertisement
Add Comment
Please, Sign In to add comment