Advertisement
Marlingaming

CC Tweaked Overwatch System Core

Feb 28th, 2022
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. local Security = 0
  2. local Enforces = {}
  3. local Guards = {}
  4. local Players = {}
  5. local Tasks = {}
  6.  
  7. function GetBots()
  8. rednet.broadcast("te6fw8")--requests all bots to respond
  9.  
  10. end
  11.  
  12. function GetPlayers()
  13. local List = peripheral.find("player_detector",listPlayers)
  14. Players = List
  15. end
  16.  
  17. function GetTask()
  18.  
  19. end
  20.  
  21. function Loop()
  22. GetBots()
  23. GetPlayers()
  24. while true do
  25. if #Tasks == 0 then GetTask() end
  26.  
  27. end
  28. end
  29.  
  30. Loop()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement