local function onTeamChange()
a.TextLabel.TextColor3 = Player.Team.TeamColor.Color
b.TextLabel.TextColor3 = Player.Team.TeamColor.Color
end
Player:GetPropertyChangedSignal("Team"):Connect(onTeamChange())
Attempting to detect a team change and change a text label based on the teamchange but its throwing the error
Passed value is not a function
Any help is appreciated, cheers
