Scripting HelpersARCHIVE
A little piece of Roblox history. Preserved for everyone, one question at a time.Read about the archive →
COMMUNITY QUESTION

How do I get what team a player is on?

This is probably a silly question, but I would use this for a custom chat gui.

1 comment

0

game.Players["PlayerNameHere"].TeamColor --server script. game.Players.LocalPlayer.TeamColor --Local Script.

1 answer

Wasn't sure when I read your question, so I checked myself.

There is a property in play called "TeamColor" and I'm assuming you can use that knowledge to add it into your custom chat GUI. IF not, just tell me.

2 comments

0

Well I've been having trouble using it for changing the chat color, but the Chat GUI is working (except for, of course, the team colors)

0

Are you using Color3 Values as the text's color? That's the only way to change the color of TextLabels.

This discussion is preserved as it was. New answers, comments, and votes are closed.