Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local function main()
- login()
- function unlocked()
- redstone.setOutput("left", true)
- os.execute("sleep " .. tonumber(10))
- redstone.setOutput("left", false)
- end
- function error()
- print("fatal crash")
- end
- function login()
- localUsername = "ExQuid"
- localPassword = "test"
- print("Enter username and password: ")
- gottenUserName = io.read()
- if(gottenUserName == localUserName ) then
- unlocked()
- else error()
- end
- end
- end
- main()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement