if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Medium stone grey") then
if script.Parent.Text == script.Parent.Parent.Parent.Parent.Parent.leaderstats.Deaths.Value then
script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
end
print("Lobby")
end
if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Bright blue") then
print("bb")
end
if script.Parent.Parent.Parent.Parent.Parent.TeamColor == BrickColor.new("Bright red") then
if script.Parent.Parent.Parent.Parent.Parent.leaderstats.Deaths.Value == script.Parent.Text then
script.Parent.Parent.Parent.Parent.Parent.Character.Humanoid.Health = 0
end
print("br")
end
There is a textbox where you can write the number of deaths they need to be dead
