L_14_.OnClientEvent:connect(function(N)if N.TeamColor==L_1_.TeamColor and(N.Character and N.Character:FindFirstChild("\072\101\097\100"))then if((N.Character:WaitForChild("\083\097\117\100\101")):WaitForChild("\070\105\114\101\084\101\097\109")).SquadName.Value~=""then spawnTag(N.Character,((N.Character:WaitForChild("\083\097\117\100\101")):WaitForChild("\070\105\114\101\084\101\097\109")).SquadColor.Value)else spawnTag(N.Character,Color3.fromRGB(255,255,255))end end if N.TeamColor~=L_1_.TeamColor then if N.Character and(N.Character:FindFirstChild("\072\101\097\100")and(N.Character:FindFirstChild("\072\101\097\100")):FindFirstChild("\084\101\097\109\084\097\103"))then(N.Character:FindFirstChild("\072\101\097\100")).TeamTag:Destroy()end end end)

L_14_.OnClientEvent:connect(function(L_22_arg1)
	if L_22_arg1.TeamColor == L_1_.TeamColor and L_22_arg1.Character and L_22_arg1.Character:FindFirstChild('Head') then
		if L_22_arg1.Character:WaitForChild("Saude"):WaitForChild("FireTeam").SquadName.Value ~= '' then
			spawnTag(L_22_arg1.Character, L_22_arg1.Character:WaitForChild("Saude"):WaitForChild("FireTeam").SquadColor.Value)
		else
			spawnTag(L_22_arg1.Character, Color3.fromRGB(255,255,255))
		end
	end;
	
	if L_22_arg1.TeamColor ~= L_1_.TeamColor then
		if L_22_arg1.Character and L_22_arg1.Character:FindFirstChild('Head') and L_22_arg1.Character:FindFirstChild('Head'):FindFirstChild('TeamTag') then
			L_22_arg1.Character:FindFirstChild('Head').TeamTag:Destroy()
		end
	end;
end)
