1

I am trying to make it so if you die a scoreboard counter will appear and then if a player has a scoreboard counter of 1 then it will detuct some money from a scoreboard account same with if you kill somebody then you will recive some money into your scoreboard account I was thinking it would be something like this /scoreboard players remove @a[something here] Money 250000
or something along those lines, please help me.

4
  • note: this is a lan world
    – Epb7304
    Aug 18, 2016 at 14:31
  • What have you got in place so far? E.G: What objectives have you got set up? Are you already tracking deaths and kills, or is how to do that part of the question?
    – SirBenet
    Aug 18, 2016 at 14:36
  • I just want to know if i can target only people who have a score of 1 then to make a different score of 1 and yes i all ready have the death and kill tracker
    – Epb7304
    Aug 18, 2016 at 16:21
  • sorry about not getting to you sooner i was busy doing other things on the lan world
    – Epb7304
    Aug 18, 2016 at 16:22

1 Answer 1

2

You can test for values of scoreboard objectives like this:
Objective <= some number
/execute @a[score_<objective name>_min=<some number>] <insert commands here...>
Objective > some number
/execute @a[score_<objective name>=<some number>] <insert commands here...>
You don't have to use /execute; any command will work, as long as you follow the target. Hope this helps!

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .