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


4 comments

0

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.

0

is this a local script?

0

game.Players.LocalPlayer only work in a local script

0

if Player.Team.Name == "Team" then stuff() end