Scripting Helpers is winding down operations and is now read-only. More info→
Ad
Log in to vote
0

How do I get what team a player is on?

Asked by 8 years ago

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

0
game.Players["PlayerNameHere"].TeamColor --server script. game.Players.LocalPlayer.TeamColor --Local Script. LostPast 253 — 8y

1 answer

Log in to vote
0
Answered by 8 years ago

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.

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) iFireLazer 35 — 8y
0
Are you using Color3 Values as the text's color? That's the only way to change the color of TextLabels. PreciseLogic 271 — 8y
Ad

Answer this question