How do I set text to a variable?

I need to have a kill counter on screen that changes whenever you kill an enemy, how do i do this?

I’m bad at this

You do a text object and make an event without condition that sets the text of it to the value of the variable