Title says it all, here is my current playerlist GUI:
How do I make it so teams don’t show up on the playerlist at all?
Title says it all, here is my current playerlist GUI:
How do I make it so teams don’t show up on the playerlist at all?
I don’t know how to hide the teams, But what I would suggest is to put a StringValue in the player, and set the value to what the player’s team is. then you can have a script check what team the user is on and do accordingly. Best of luck! ~StoneSymmetry
You aren’t able to disable teams sadly but what you can do is if there is nobody on a team it will disappear, here is the link to the CoreGui
these leaderboards the most important thing?
someone else made this a thread and made them a script
since you have exacly 3 teams you are lucky and i have it ready – i just noticed that this thread is from 2021 lol
here is the script
-- Changable --
local Team1 = game.Teams.YourTeamName
local Team2 = game.Teams.YourTeamName
local Team3 = game.Teams.YourTeamName
-- Not changable --
local Team1Number = 0
local Team2Number = 0
local Team3Number = 0
while wait() do
Team1Number = 0
Team2Number = 0
Team3Number = 0
for i,v in pairs(game.Players:GetPlayers()) do
local TeamToAddUses = v.Team
if TeamToAddUses == Team1 then
Team1Number = Team1Number + 1
elseif TeamToAddUses == Team2 then
Team2Number = Team2Number + 1
elseif TeamToAddUses == Team3 then
Team3Number = Team3Number + 1
else
Team1.Parent = game.Teams
Team2.Parent = game.Teams
Team3.Parent = game.Teams
local NewTeamToAddUSes = v.Team
if NewTeamToAddUSes == Team1 then
Team1Number = Team1Number + 1
elseif NewTeamToAddUSes == Team2 then
Team2Number = Team2Number + 1
elseif NewTeamToAddUSes == Team3 then
Team3Number = Team3Number + 1
else
return warn("Failed instance of Team.")
end
end
end
if Team1Number == 0 then
Team1.Parent = game.ReplicatedStorage
else
Team1.Parent = game.Teams
end
if Team2Number == 0 then
Team2.Parent = game.ReplicatedStorage
else
Team2.Parent = game.Teams
end
if Team3Number == 0 then
Team3.Parent = game.ReplicatedStorage
else
Team3.Parent = game.Teams
end
end
From what I know of, it is currently impossible to hide teams from the playerlist. But, there is many other ways of doing it, you can prob use a BoolValue or something like that.
Sorry to revive this topic after so many years, but a very hacky way is literally just hiding the Team instance out of Teams on the client. The server still has the Team in Teams (to operate for role assignments)
Unfortunately with Roblox’s basic GUI I think it is impossible but I know lots of player list GUIs for sale, I currently have one I would send you!