Warden = game.Teams.Warden.TeamColor
Main = game.StarterGui["BOSS GUI"].Main
play = game.Players:getChildren()
function Warden()
for i = 1,#play do
if play[i].TeamColor == game.Teams.Warden.TeamColor then
Main.Visible = true
else Main.Visible = false
end
end
end
Hi, thank you for reading. I need help scripting on how to make a GUI appear if they are on the team called "Warden". I've been trying to find out the problem but I just can't figure it out. Can anyone help me? Thank you.
COMMUNITY QUESTION
How do I make a GUI appear if I am on a certain team?[I SOLVED IT MYSELF]
1 answer
Don't answer because I already solved it.
This discussion is preserved as it was. New answers, comments, and votes are closed.

2 comments
If you solved it you should post the answer here. That way other people who made a similar mistake may learn from this question. (Please edit this answer to include your solution)
On a related note your edit to the title was unnecessary and is just annoying clutter, you can edit that out.