WinnerG = game.StarterGui.Winner WinnerF = WinnerF.WinnerFrame WinnerT = WinnerF.Winner RS = script.Parent.RoundScript.RoundStart RC = script.Parent.RoundScript.RC TEAM1 = {} TEAM2 = {} repeat if RS == true then for _,v in pairs (game.Players:GetPlayers()) do if v.TeamColor == BrickColor.new("Bright blue") then table.insert(TEAM1, v) elseif v.TeamColor == BrickColor.new("Really Black") then table.insert(TEAM2, v) else end end end if #team1 <=1 then WinnerF.Visible = true WinnerT.Text = "The Survivor Force have Crushed the Beast!" wait(1) RC = false WinnerT.Text = "" WinnerF.Visible = false elseif #team2 <=1 then WinnerF.Visible = true WinnerT.Text = "The Beast has Crushed the Survivors!" wait(1) RC = false WinnerT.Text = "" WinnerF.Visible = false end until RC == false
So this Time guys, plz tell me about the Last Team standing and if the Script above is Correct...