Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local Security = 0
- local Enforces = {}
- local Guards = {}
- local Players = {}
- local Tasks = {}
- function GetBots()
- rednet.broadcast("te6fw8")--requests all bots to respond
- end
- function GetPlayers()
- local List = peripheral.find("player_detector",listPlayers)
- Players = List
- end
- function GetTask()
- end
- function Loop()
- GetBots()
- GetPlayers()
- while true do
- if #Tasks == 0 then GetTask() end
- end
- end
- Loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement