You need to get the score which should be used, so the score variable in the world in which the actor is (or in your case just the class because most of your variables are static for no reason...). Right now, the score variable is private so you will need a getter method to access it.