Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p=peripheral.wrap("right")
- while true do
- if #p.getPlayers()>=1 then
- rs.setOutput("front",true)
- else
- rs.setOutput("front",false)
- end
- sleep(1)
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement