Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local x = 0
- while x<10 do
- print("x="..x)
- x = x+1
- end
- local password = ""
- while password ~= "dw20" do
- term.write("ENTER PASSWORD: ")
- password = read()
- end
- local y = 6
- while y < 5 do
- repeat
- print("Y: "..y)
- until y > 5
- print("correct password.")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement