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

I am trying to check if a person is on a team. No errors?

Asked by 5 years ago
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


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. IrishStukov 20 — 5y
0
is this a local script? OBenjOne 190 — 5y
0
game.Players.LocalPlayer only work in a local script SirDerpyHerp 262 — 5y
0
if Player.Team.Name == "Team" then stuff() end angeI1001 123 — 5y

Answer this question