jonassvensson4

Player Detector fungerar

Aug 17th, 2013
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.21 KB | None | 0 0
  1. p = peripheral.wrap("top")
  2. while true do
  3. a, b = os.pullEvent("player")
  4. if( b == "jonassvensson4" or b == "sorms" or b == "jjceel") then
  5. rs.setOutput("bottom", true)
  6. sleep(4)
  7. rs.setOutput("bottom", false)
  8. end
  9. end
Advertisement
Add Comment
Please, Sign In to add comment