[Objective]|[nil] objective = Scoreboard.getObjective(name)
Gives you the display objective for that location
Note: that its not it's not guaranteed you will get anything beyond the display ones.
Parameters
name
stringThe name of the objective (not the display name)
Return Value
objective
Objective | nilThe objective or nil if it was not found