Advertisement
maxtorcd55

door

Jun 13th, 2014
24
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. local radar = peripheral.wrap("left")
  2.  
  3. while true do
  4.         local names = radar.getPlayerNames()
  5.  
  6.     if #names > 0 then
  7.         rs.setOutput("top",true)
  8.     else
  9.         rs.setOutput("top",false)
  10.     end
  11.         sleep(2)
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement