(This is in 1.9.)
I'm working on a new adventure map and want all players with the score of GameStatus set from -5 to 0 to constantly be killed, so I got a repeating command block and set "Needs Redstone" to "Always Active" and then typed "/kill @a[score_GameStatus_min=-5,score_GameStatus=0]" in it, but nothing is happening. Can somebody help me?
I'm working on a new adventure map and want all players with the score of GameStatus set from -5 to 0 to constantly be killed, so I got a repeating command block and set "Needs Redstone" to "Always Active" and then typed "/kill @a[score_GameStatus_min=-5,score_GameStatus=0]" in it, but nothing is happening. Can somebody help me?
10
/scoreboard objectives add GameStatus dummy
/scoreboard players remove @p GameStatus 5
/kill @a[score_GameStatus_min=-5]
That should make it work.
/scoreboard players remove @p GameStatus 5
/kill @a[score_GameStatus_min=-5]
That should make it work.
Replace your @a with @e that should target all entities with that score, so players will work as well. Just make sure you arent making the score applicable to mobs as well. (It looks like it isnt anyways.)
I think you can disable it. I am pretty sure I've seen people demonstrate stuff by doing that
Also does it work with a normal command block on a clock. That or does the command block say stuff if you put "say hello"
Also does it work with a normal command block on a clock. That or does the command block say stuff if you put "say hello"
Fanawtik(This is in 1.9.)
I'm working on a new adventure map and want all players with the score of GameStatus set from -5 to 0 to constantly be killed, so I got a repeating command block and set "Needs Redstone" to "Always Active" and then typed "/kill @a[score_GameStatus_min=-5,score_GameStatus=0]" in it, but nothing is happening. Can somebody help me?
you have a redstone block next to it? or you can disable the "needs redstone"
The command block was working perfectly until I moved it.
If you have essentials through spigot, it overrides the command, forcing you to use this:
/minecraft:kill
If you do not have spigot and it is vanila, I cannot see the problem, the command is correct.
/minecraft:kill
If you do not have spigot and it is vanila, I cannot see the problem, the command is correct.
I'm in a vanilla 1.9 singleplayer world.
[deleted]
Yes, I set it to "Repeat".
C'mon, guys... I need this information badly. It's one of the basic building blocks of my map.
