Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- while true do
- if input == "bacon" then
- term.setTextColor(colors.blue)
- rs.setOutput("back", true)
- sleep(5)
- rs.setOutput("back", false)
- print("Correct!")
- end
- if input == "sausage" then
- term.setTextColor(colors.red)
- rs.setOutput("left", true)
- sleep(5)
- rs.setOutput("left", false)
- print("Correct!")
- end
- if input == "ham" then
- term.setTextColor(colors.green)
- rs.setOutput("right", true)
- sleep(5)
- rs.setOutput("right", true)
- print("Correct!")
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement