get method

Score get()

gets the value of the score to work with it further

Implementation

Score get() {
  return addCommandRet(
    Command(
      'scoreboard players get ${toString()}',
    ),
  );
}