I'm trying to make a minigame that's in a space station. Everyone gets a certain amount of oxygen using scoreboards.
I am stuck on how I can kill a player when they reach 0 oxygen. I have tried
/testfor @a["scoreboard name"=0]
but this does not seem to work. How can I kill the player when they reach 0 oxygen?
I am using Minecraft version 1.7.10.