I used a for loop to loop through all of the players. V is equal to the player object.
Here is the code I put:
print(v.Team)
print(v.Team == "Night Guard")
And here is what it printed out:
- Night Guard
- False
Why isn’t it working?
I used a for loop to loop through all of the players. V is equal to the player object.
Here is the code I put:
print(v.Team)
print(v.Team == "Night Guard")
And here is what it printed out:
- Night Guard
- False
Why isn’t it working?
If I recall correctly, v.Team is the Team object. Try:
v.Team.Name == "Night Guard"