2

I have this command but I need to add/set a score instead of summoning a sheep:

/execute @a[score_talkVill_min=1,score_hold_min=1] ~ ~ ~ summon Sheep
2
  • You should just be able to replace the summon command with the scoreboard command that you want. Is there something you've tried and couldn't get to work?
    – SirBenet
    Commented Oct 29, 2016 at 11:44
  • I was trying with this: /execute @p[score_talkVill_min=1,score_hold_min=1] ~ ~ ~ scoreboard players add @p TalkVillGreen 1
    – MaxFox
    Commented Nov 29, 2016 at 15:51

1 Answer 1

1

all you need is to replace the summon command with something like this:

/scoreboard players add <player> <objective> <amount>

that should work, but I can't test it right now, so if it doesn't work, that's probably why

hopefully I helped!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.