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.
Don't answer because I already solved it.