“Das funktioniert nicht.” means “That does not work.” Nicht follows the thing that fails.