How do you create a score that goes up when I kill an enemy/ zombie AI?

You can do as the teacher did in twin stick shooter tutorial.

The “score” part is in the number 21.