#Help

1 messages · Page 1 of 1 (latest)

proven thistle
#

i want to display the number of experience i won when i mine a coal for exemple

#

they display + 8 Mining and ( my experience )

#

this is my actual script for when i mine a potatoes :


    if (event.brokenBlockPermutation.type.id == "minecraft:potatoes") {
        player.runCommand("scoreboard players add @s A 5");
#

    if (event.brokenBlockPermutation.type.id == "minecraft:potatoes") {
        player.runCommand("scoreboard players add @s A 5");
        player.onScreenDisplay("5" + world.scoreboard.getObjective('A').getScore(player.scoreboardIdentity));
ocean comet
#

cool