DatapackScoreboard Setupkotlin@ServerScriptEntrypoint fun scoreboardExampleMain(){ //get the scoreboard objective val obj = getOrCreateObjective("myscore") //set the score of "test" to 100 setScore("test", obj, 100) }