help for creating a scoreboard

how to show a scoreboard when a character sprite which is running in the scene collision to an enemy sprite ?
or if there is anyone know how to make a scoreboard appear like in flappy bird when the bird die pls help me
tks