Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --Load AI Image
- bGround = paintutils.loadImage(".AI")
- --Stop Termination
- os.pullEvent = os.pullEventRaw
- --Clear Terminal
- term.clear()
- paintutils.drawImage(bGround,18,1)
- term.setCursorPos(1,1)
- print("Please Login")
- term.setCursorPos(1,2)
- term.write("Username : ")
- user = read()
- term.setCursorPos(1,3)
- term.write("Password : ")
- pass = read("*")
- --Verify
- term.setCursorPos(1,4)
- textutils.slowPrint("Verifying Information...")
- function bootUp()
- if (user == "Kami") then
- if (pass == "4793") then
- term.clear()
- paintutils.drawImage(bGround,18,1)
- term.setCursorPos(15,10)
- term.setTextColor(colors.lime)
- textutils.slowPrint("WELCOME MASTER")
- sleep(2)
- else
- term.clear()
- paintutils.drawImage(bGround,18,1)
- term.setCursorPos(15,10)
- term.setTextColor(colors.red)
- textutils.slowPrint("WRONG PASSWORD")
- sleep(2)
- end
- else
- term.clear()
- paintutils.drawImage(bGround,18,1)
- term.setCursorPos(15,10)
- term.setTextColor(colors.red)
- textutils.slowPrint("WRONG USERNAME")
- sleep(2)
- end
- end
- bootUp()
- term.clear()
- paintutils.drawImage(bGround,18,1)
- term.setCursorPos(1,1)
- term.setTextColor(colors.pink)
- textutils.slowPrint("WHAT ARE WE GOING TO DO TODAY, MASTER?")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement