player = game.Players.LocalPlayer
if player.TeamColor.BrickColor.Name == ("White") then
print ("Working")
end
Why is this not working? Thanks.
player = game.Players.LocalPlayer
if player.TeamColor.BrickColor.Name == ("White") then
print ("Working")
end
Why is this not working? Thanks.
You do not need the .BrickColor after .TeamColor because TeamColor is already a BrickColor.
Don't use the () around "White". Those () are for math.
But yeah what the top reply said.
You could also check the team.
if player.Team == game:GetService("Teams").TeamNameHere then
-- Do code
end
Thanks for the alternative!
This discussion is preserved as it was. New answers, comments, and votes are closed.
1 comment
Thanks!