Advertisement
yutaponabe

minecraft ComputerCraft 42442534

Feb 27th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.29 KB | None | 0 0
  1.  
  2. pass = ("yukkuri")
  3. rs.setOutput("left", true)
  4. print("pass in")
  5. a = read()
  6. if a == pass then
  7. print("OK!")
  8. rs.setOutput("right", true)
  9. sleep(3)
  10. rs.setOutput("right", false)
  11. else
  12. print("Good Bay")
  13. rs.setOutput("left", false)
  14. sleep(3)
  15. rs.setOutput("left", true)
  16. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement