Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local terminal = term.current()
- local password = "1234"
- local passwordWT = 1
- local logo = "<!SATANA!>"
- local text = logo.."TEXT\nTEXT\nTEXT"..logo
- while true do
- terminal.clear()
- terminal.setCursorPos(1,1)
- terminal.setTextColor(colors.red)
- terminal.write("You are infected a virus:"..logo)
- terminal.setCursorPos(1,2)
- terminal.setTextColor(colors.orange)
- terminal.write("Please wait password protection...")
- sleep(passwordWT)
- terminal.setCursorPos(1,1)
- terminal.clear()
- terminal.setTextColor(colors.red)
- terminal.write(text)
- local ext = false
- for i = 0,5,1 do
- local TCPX,TCPY = terminal.getCursorPos()
- terminal.setCursorPos(1,TCPY+1)
- terminal.write("Enter password(Enters:"..i.."/5)")
- local Epass = read()
- if Epass == password then
- ext = true
- break
- end
- end
- if ext then
- terminal.clear()
- break
- else
- os.reboot()
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement