#what the error on that and didnt work????

1 messages · Page 1 of 1 (latest)

agile harness
#

system.run(()=>{
for ( const player of world.getAllPlayers()){
const points = world.scoreboard.getObjective('Points').getScores(player.scoreboardIdentity);
if (points >100 ){
player.runCommand('give @s 1 diamnod_sword')
}}
})

woeful glade
#

getScores returns an array
use getScore instead

thin bobcat
#

diamond_sword