Basically, i'm just trying to call out the character from each player on the blue team, but haven't been able to script a solid working script. Does anyone know how to do that? My failed attempt is shown below...
Script:
local BlueTeamPlayers = game.Teams.Blue:GetPlayers()
local BlueHumanoid = BlueTeamPlayers.Character:findFirstChild("Humanoid")
function DeathOfBlueTeam()
print('1 player death from blue team...just a test')
end
BlueHumanoid.Died:connect(DeathOfBlueTeam)
Thanks for your time! ;)

1 comment
Thanks so much!