Teams order problem

I want teams in the orders.

image

It just goes in a random order.
image

So I suppose for this Instance, you can do:

Host > Co-host > Trainer > Assistant Trainer > Group A > Group B > Neutral

I have done that and it does not work.

There should be a TeamsService which holds all of the teams, correct? Did you drag them all in the sequential order you want them to be ordered in?

image
In here.

Strange, maybe it could be due to this perhaps?

I suppose an alternate would be is to just create the Teams yourself via scripting in the order they should go in:

--The script runs from top to bottom, running at the top first then ending at the bottom
--Btw this should be a Script inside ServerScriptService

local Teams = game:GetService("Teams")

local Host = Instance.new("Team")
Host.Name = "1 || Host"
Host.TeamColor = BrickColor.new()
Host.Parent = Teams

local CoHost = Instance.new("Team")
CoHost.Name = "2 || Co-host(s)"
CoHost.TeamColor = BrickColor.new()
CoHost.Parent = Teams

local Trainer = Instance.new("Team")
Trainer.Name = "3 || Trainer"
Trainer.TeamColor = BrickColor.new()
Trainer.Parent = Teams

local Assistant = Instance.new("Team")
Assistant.Name = "4 || Assistant Trainer"
Assistant.TeamColor = BrickColor.new()
Assistant.Parent = Teams

local GroupA = Instance.new("Team")
GroupA.Name = "5 || Group A"
GroupA.TeamColor = BrickColor.new()
GroupA.Parent = Teams

local GroupB = Instance.new("Team")
GroupB.Name = "6 || Group B"
GroupB.TeamColor = BrickColor.new()
GroupB.Parent = Teams

local Neutral = Instance.new("Team")
Neutral.Name = "Neutral"
Neutral.TeamColor = BrickColor.new("Medium stone grey")
Neutral.Parent = Teams

Do keep in mind that you’ll have to set the BrickColor properties yourself in relation with what Team Colors you have

With the script not all of the teams show.

image

image

You need a unique team color for each team

1 Like

Works now, thank you so much. :smiley:

1 Like