Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I make a GUI appear if I am on a certain team?[I SOLVED IT MYSELF]

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.

1 answer

Don't answer because I already solved it.

2 comments

0

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)

0

On a related note your edit to the title was unnecessary and is just annoying clutter, you can edit that out.

This discussion is preserved as it was. New answers, comments, and votes are closed.