How to disable team GUI on leaderstats

How would I get rid of the “Spawn” and Neutral tabs in the player leaderstat’s Area? What script do I have to edit?

Have a good day!

I don’t think you can, but… you are able to manually handle spawning with your own code.

Code Sample

local SpawnTeam ="Folder")
local SpawnTeamPart = workspace.Spawn
local SpawnTeam2 ="Folder")
local SpawnTeamPart2 = workspace.Spawn2

    if not SpawnTeam:GetChildren()[1] then
       local new ="StringValue", SpawnTeam)
       new.Name = Player.Name
       local new ="StringValue", SpawnTeam2)
       new.Name = Player.Name
        if SpawnTeam:FindFirstChild(Player.Name) then
             Character:WaitForChild("HumanoidRootPart").CFrame = SpawnTeamPart.CFrame *, 2, 0)

You get the idea…


I don’t really get what your problem is but I’m guessing that you want to remove the teams.

I would approach this by going into a server script and setting a table for the teams I want to delete.

Then I would loop through the table with a for loop and destroy the teams.

Sorry, I should I have been more specific. Look at the top right corner of my image above, where it shows the players in the server. Above my name, it shows “Spawn” and “Neutral”. My question is how do I remove that while keeping teams.

There unfortunately is no way to do that. If you made a custom leaderboard instead of the built in Roblox one, you would be able to remove the visible aspect of the UI while keeping the teams.

It would take some extra coding though.

You can disable the player leaderboard, which would fix your issue. Only problem is you wont be able to see who is in your game without opening the pause menu, but it would work

I think he just wants to get rid of the team on the UI while keeping the team in the team folder. From what I have heard he does want to keep the leaderboard.

Well then he would need to make a custom leaderboard for that, which is a very lengthy process.

You could make a local script and paste it into starter player scripts.

local StarterGui = game:GetService("StarterGui")
StarterGui:SetCoreGuiEnabled(Enum.CoreGuiType.PlayerList, false)

Making a custom GUI is what I recommended above. If he really wants this to happen then he will need to go through a lengthy process.