if game.Players.LocalPlayer.Team == game.Teams.Programmer then
game.Players.LocalPlayer.leaderstats.Job.Value = game.Players.LocalPlayer.leaderstats.Job.Value == "Programmer"
else
print("Hello")
end
COMMUNITY QUESTION
I am trying to check if a person is on a team. No errors?
0 answers
No public answers were preserved for this question.
This discussion is preserved as it was. New answers, comments, and votes are closed.

4 comments
for "if game.Players.LocalPlayer.Team == game.Teams.Programmer then" in game.Teams.Programmer I think it would be easier if you checked the actual team COLOR instead of the team itself.
is this a local script?
game.Players.LocalPlayer only work in a local script
if Player.Team.Name == "Team" then stuff() end