Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function door()
- print[[
- **********************
- * *
- * *
- * username: *
- * *
- * *
- * password: *
- * *
- * *
- **********************
- ]]
- term.setCursorPos(14,5)
- input = read()
- if input == 'BoMC' then
- term.setCursorPos(14,8)
- i = read()
- if i == 'github' then
- print('access granted')
- rs.setOutput('left', true)
- rs.setOutput('top', false)
- sleep(5)
- rs.setOutput('left', false)
- os.reboot()
- else
- term.setTextColor( colors.red )
- print('access denied')
- print('acticvating alarm')
- rs.setOutput('top', true)
- sleep(10)
- door()
- end
- end
- end
- door()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement