I'm working on a map that has four teams red, Blue, Yellow, and Green. I have this command in a repeating command block /testfor @e[team=Yellow] I have one of each of these for each team. When a player dies they're still on the team, but when they die the command block comes out negative as if there were no players on that team until they respawn.
To simply say it. When a player dies the command block output is negative until they respawn, but I need it to be positive until they are off the team. And I can't have any other entities on the team or else it screws up my map. I don't believe there is any way to fix it unless I have an entity join the team when they die, and leave when they respawn. But there's no way I know of to do that.
I'm using MC 1.9-pre2