game.Players.PlayerAdded:connect(function (player)
player.CharacterAdded:connect(function (character)
play = game.Players:GetChildren()
for i = 1,#play do
if play[i].TeamColor == BrickColor.new("Bright blue" or "Bright red") then
if play[i] ~= nil then
play[i].TeamColor = BrickColor.new("Mid Gray")
end
end
end
I was wondering if this code works. I was just trying to play around with the respawned code. What I'm trying to do is that If someone dies, their team becomes Mid Gray instead of staying at Bright blue or Bright red.
Thank you for reading.
