I have 2 teams - Blue, and Green team
how do I check which team player is in?
so when I join the game I randomly get put in the blue team, and a GUI will pop that only Blue team members can see.
local player = game:GetService("Players").LocalPlayer
function teamcheck()
script.Parent.Frame.Visible = true
end
-- if the player is in the blue team then
-- teamcheck()
Teams - Bright blue Team ; Bright green Team

3 comments
You should research your issue before coming to SH: if (Player.Team == Team) then
@Feahren it didnt work
If the team is changed to Bright blue Team, the code has already executed by then.