IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
|
| 20 Jan 2016 03:18 PM |
to make a .Changed:connect(function)
to fire whenever a players team color has changed? |
|
|
| Report Abuse |
|
|
|
| 20 Jan 2016 03:20 PM |
| it fires whenever any property changes -_- |
|
|
| Report Abuse |
|
|
IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
|
| 20 Jan 2016 03:22 PM |
| I mean is there a way to find out whenever a players team changes, to see what color it changes to |
|
|
| Report Abuse |
|
|
|
| 20 Jan 2016 03:25 PM |
g = player.TeamColor player.Changed:connect(function() if g = player.TeamColor then a = player.TeamColor else print(player.Name.." has switched teams from "..g.." to "..a) |
|
|
| Report Abuse |
|
|
IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
| |
|
|
| 20 Jan 2016 03:31 PM |
player.Changed:connect(function(property) if (property == "TeamColor") then --[[Stuff]] end end) |
|
|
| Report Abuse |
|
|
IDKBlox
|
  |
| Joined: 05 Apr 2013 |
| Total Posts: 1304 |
|
|
| 20 Jan 2016 03:34 PM |
| Thanks Gigabytes! that actually helped me! :) |
|
|
| Report Abuse |
|
|