im making a map and i cant get command blocks use testfor
i need to test players for a scoreboard objective.
if anyone can help then thx
I nolonger need help thx to everyone who gave me advice and help
i need to test players for a scoreboard objective.
if anyone can help then thx
I nolonger need help thx to everyone who gave me advice and help
10
how would i use this to test for zombiekills?
what would i put in for (thescore)
hello, i recently made a king of the hill minigame with command blocks and teams. While everything is set up i am having trouble being able to make it so when a player has 5 points, the game ends(says the team that one) i need a code that will be team sensitive and sense when a player has 5 points, im running 1.7.2. please reply with an exact code to work.
Thanks.
Thanks.
testfor @a[score_(thescore)_min=5]
[deleted]
Don't forget about score_name_min=#, to set a lower region.
Like if you want someone with a score in Kills of 5, you say @p[score_kills=5,score_Kills_min=5]
Like if you want someone with a score in Kills of 5, you say @p[score_kills=5,score_Kills_min=5]
i already knew about min and max but that is helpful advice
got that thx for your help all i need to know know is how to apply a command after to a that player i just selected
do you know that?
do you know that?
Use a comparator pointing out from the command block. This will activate when the testfor command is true, and deactivate when it is false. You can use the comparator's output to activate more redstone/command blocks. Just remember to use the scoreboard argument in the next command blocks to differentiate players.
thx now i can get back to making my map!
