Displaying Team

Hey developers, I’m gonna keep this short and simple but I was wondering how I can show - display the team name that i’m on through a UI.

EX. If you are on red the red team the textlabel or button will be “Red team” but if you switched to blue it’ll display blue team.

Thank you for reading! :smile:

1 Like

Hey,

what you will need is to know the player’s Team and access its name using Team.Name (string). You’d also need to update the label upon team change, e.g. by doing Player:GetPropertyChangedSignal("Team"):Connect(function).

1 Like