Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function password()
- os.pullEvent = os.pullEventRaw
- term.clear()
- term.setCursorPos(10, 10)
- print("PLEASE ENTER PASSWORD FROM RULES")
- term.setCursorPos(22, 6)
- pass = read()
- if pass == "freedom" then
- term.clear()
- term.setCursorPos(15, 10)
- print("WELCOME TO OUR SERVER")
- move()
- elseif pass == "kuna12345" then
- exit()
- else
- term.clear()
- term.setCursorPos(5, 10)
- print("WRONG PASSWORD READ RULES TO FIND PASSWORD")
- sleep(3)
- password()
- end
- end
- function vro()
- rs.setBundledOutput(b1, 2)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- end
- function vrz()
- rs.setBundledOutput(b1, 1)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- end
- function dvo()
- rs.setBundledOutput(b1, 16)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- sleep(1)
- end
- function dvz()
- rs.setBundledOutput(b1, 32)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- sleep(1)
- end
- function vn()
- rs.setBundledOutput(b1, 4)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- sleep(1)
- end
- function vd()
- rs.setBundledOutput(b1, 8)
- sleep(1)
- rs.setBundledOutput(b1, 0)
- sleep(1)
- end
- function move()
- for i = 0, 3 do
- dvz()
- end
- for i = 0, 2 do
- vro()
- sleep(1)
- end
- for i = 0, 11 do
- vro()
- vn()
- end
- sleep(10)
- vd()
- vd()
- for i = 0, 11 do
- vd()
- vrz()
- end
- for i = 0, 3 do
- dvo()
- end
- password()
- end
- b1 = "back"
- password()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement