Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local checking = function()
- while true do
- local TZLP = 0
- for i,v in pairs (game.Players:GetChildren())do
- if (v.TeamColor == BrickColor.new("Zentinels")) or (v.TeamColor == BrickColor.new("Allies")) then
- TZLP = TZLP + 1
- if (TZLP >= 2) then
- script.Parent.Yes.Visible = true
- script.Parent.No.Visible = false
- wait(1)
- end
- elseif (TZLP <= 2) then
- script.Parent.Yes.Visible = false
- script.Parent.No.Visible = true
- wait(1)
- end
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement