When the player hits an asteroid in my game, there will be points added to his score.
What I use is:
This all works perfectly well.
What I want to achieve is when the player hits the asteroid, the random amount of points gained is displayed at the position where the asteroid was hit.
How can I do this?
What I have been playing with so far is this:
But how can I make sure it displays the random score it produced moments ago?
I hope my question is clear. Thanks in advance for your help.