Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rednet.open("right")
- local playerList = {"TheFatAxeMan", "Stagfish", "Lionsaw22", "Captain_Admiral"}
- while true do
- --Main
- clickingPlayer = os.pullEvent("player")
- for i=0, i<playerList.length do
- if playerList[i] == clickingPlayer then
- rednet.broadcast("Right Player")
- break
- end
- if i==playerList.length then
- rednet.broadcast("Wrong Player")
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement