Advertisement
Nadds

Untitled

Apr 14th, 2016
93
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. local checking = function()
  2. while true do
  3. local TZLP = 0
  4. for i,v in pairs (game.Players:GetChildren())do
  5. if (v.TeamColor == BrickColor.new("Zentinels")) or (v.TeamColor == BrickColor.new("Allies")) then
  6. TZLP = TZLP + 1
  7. if (TZLP >= 2) then
  8. script.Parent.Yes.Visible = true
  9. script.Parent.No.Visible = false
  10. wait(1)
  11. end
  12. elseif (TZLP <= 2) then
  13. script.Parent.Yes.Visible = false
  14. script.Parent.No.Visible = true
  15. wait(1)
  16. end
  17. end
  18. end
  19. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement