Hey! I just have a simple question concerning teams.
I was just wondering how I could access a players team color via a script. I need to access the color of the player to perform a certain event, but I can’t figure out how to access the players team once the joined the game.
U can do Player.TeamColor to get the team
script:
game.Players.PlayerAdded:Connect(function(player)
player:GetPropertyChangedSignal("TeamColor"):Connect(function()
print(player.TeamColor)
end)
end)