ScoreSystem bug!

Ok So I’m confused about how I’m supposed to make this script change the number’s

var Scorep = pc.createScript('scorep');



var score = "game";
console.log('Score started');

Scorep.prototype.initialize = function(){
   this.score = 0;
    this.app.on('player:score', function(){
      this.score++;
      this.entity.element.text = this.score;
   }, this);
};