Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function OpenDoor()
- rs.setOutput("right", true)
- sleep(2)
- rs.setOutput("right", false)
- sleep(3)
- rs.setOutput("left", true)
- sleep(2)
- rs.setOutput("left", false)
- end
- function Something()
- print("Hi")
- sleep(1)
- print("This function does nothing and is here only for demostration purpuse")
- end
- while true do
- OpenDoor()
- Something()
- end
Add Comment
Please, Sign In to add comment