Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- detect = peripheral.wrap("bottom")
- while true do
- sleep(0.1)
- if detect.isPlayerInRange(1, "Ezteyh") == true then
- rs.setAnalogOutput("right", 1)
- sleep(0.5)
- rs.setAnalogOutput("right", 0)
- sleep(10)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement