Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- p = peripheral.wrap("right")
- rs.setOutput("top",true)
- function check(name)
- file = io.open("perms", "r")
- for line in file:lines() do
- if name == line then
- rs.setOutput("top",false)
- sleep(3)
- rs.setOutput("top",true)
- end
- end
- end
- while true do
- table=p.getPlayerNames()
- for m, p in pairs(table) do
- check(p)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement