local thingy = game.Players.LocalPlayer
if thingy.TeamColor == thingy.TeamColor("White") then -- The team colour filter (I called the Lobby)
script.Parent.Visible = false -- Makes the GUI invisible
else
script.Parent.Visible = true -- Makes the GUI visible
end
Why wont this team colour filter work? (WHY IS THIS STILL NOT SOLVED?)
4 answers
Just compare it directly with the team's color:
if thingy.TeamColor == game.Teams.SomeTeam.TeamColor then
Make sure to change "SomeTeam" to the team's name
local thingy = game.Players.LocalPlayer
if thingy.TeamColor == BrickColor.new("White") then -- The team colour filter (I called the Lobby)
script.Parent.Visible = false -- Makes the GUI invisible
else
script.Parent.Visible = true -- Makes the GUI visible
end
Try this:
local thingy = game.Players.LocalPlayer
if thingy.TeamColor == "White" then -- try this
script.Parent.Visible = false
else
script.Parent.Visible = true
end
Also, does this output any errors?
local thingy = game.Players.LocalPlayer --You could try to do "script.Parent.Parent.Parent.Parent" and etc.
if thingy.TeamColor == BrickColor.new("White") then -- The team colour filter (I called the Lobby)
script.Parent.Visible = false -- Makes the GUI invisible
else
script.Parent.Visible = true -- Makes the GUI visible
end
TeamColor isn't an actual color value like BrickColor or Color3. TeamColor uses BrickColor. You could turn Color3 into BrickColor.
Edit: I don't get why This has -2 votes when there is another person with the exact thing I put excpet he was 2 votes. The logic.
9 comments
It didn't work somehow
I forgot, You need a ".new" at the end of BrickColor, I edited it.
It still didn't work :(
Is is local?
ye
Remove thingy.
Thanks Gamenew, It was late and I was tired.
I feel like this guy is just plain trolling. Just down vote him.
I even uploaded an hour before him...
This discussion is preserved as it was. New answers, comments, and votes are closed.

1 comment
Thank you!! it worked!