Add value to the text and add it in ranking

hello,
i gave a score value to each enemy and i would like to add that value to a text
aaaaaaaaaaaaaa
this is what i did:
bbbbbbbbbbbbbbb
this is what happens


I would like to add the value to the text and when the player dies add that text to a ranking.
I saw an example some time ago, can you tell me where to find it?
thanks

Make variable called ActualScore

And now change text set to ActualScore

And in separate event when you kill enemy change VARIABLE ActualScore add enemy.Score

Actually change text to "Score "+ActualScore

1 Like

ok perfect now it works, while could you tell me how to record that value in a ranking or if there is an example of a game
thanks again

I have no idea what ranking is?
If you are talking about leaderobards then i have never even touched it so i have no idea how to do it

Save the value in an array, and then use Array Tools extension to sort the array.