|
| 31 Dec 2014 03:56 PM |
| To find a player's team (sorry I had to make the title shorter) |
|
|
| Report Abuse |
|
|
KingJacko
|
  |
| Joined: 20 Jun 2008 |
| Total Posts: 3944 |
|
| |
|
|
| 31 Dec 2014 03:58 PM |
| Yes. TeamColor is a BrickColor value. |
|
|
| Report Abuse |
|
|
Ruinable
|
  |
| Joined: 14 Sep 2014 |
| Total Posts: 8903 |
|
|
| 31 Dec 2014 04:10 PM |
use tables to scan for the team's name. something like this
local team = game.Players.LocalPlayer.TeamColor
local teamlist = game.Teams:GetChildren() for i=1,#teamlist do if #teamlist.TeamColor == team then print(#teamlist.Name) end
#ScriptMasterRace |
|
|
| Report Abuse |
|
|