try to make a text button count up and become ghosted to make a player select the other team etc… to try to keep teams even 2 teams only
I have this but can seem to get it to work correctly once it is adapted to my game
local YourButton = YourTeamsButton
local Team = YourTeam
YourButton.MouseButton1Click:Connect( function ()
local PlayersOnTeam = Team:GetPlayers()
local SentenceGui = YourTextLabel
if #PlayersOnTeam < 6 then – The value of players you want replaces the six here.
game.Players.LocalPlayer.Team = Team
else
SentenceGui.Visible = true
–This will show only when the amount of players on a team is greater or equal to six.
end
end )