Scoreboard - Objective Score (Expression) — SkBee

Addon: SkBee · Category: Expression · Since: 2.6.0

Syntax

score of %entities/strings% for %objective%

Description

Get/Set the score of an entity/string for an objective. If the score has never been set, it'll return nothing.

Examples

set score of player for {_objective} to 10
set score of "le_test" for {_objective} to 25
set {_score} to score of target entity for {_objective}
set {_score} to score of "le_test" for {_objective}

View source