scoreboard_remove()

View on GitHub

Syntax

scoreboard_remove(objective)
scoreboard_remove(objective, key)

Removes an entire objective, or an entry in the scoreboard associated with the key. Returns true if objective has existed and has been removed, or previous value of the scoreboard if players score is removed. Returns null if objective didn’t exist, or a key was missing for the objective.