Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
-1

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

Asked by
Yeevivor4 155
10 years ago
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

Log in to vote
-2
Answered by
Yeevivor4 155
10 years ago

Don't answer because I already solved it.

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) BlueTaslem 18071 — 10y
0
On a related note your edit to the title was unnecessary and is just annoying clutter, you can edit that out. BlueTaslem 18071 — 10y
Ad

Answer this question