Run command if player is NOT matching DataTag [duplicate]
I have a huge problem: I want to set a players HPLUranium score to 9 whenever he wears an anti-radiation suit - easy, I do this like that:
scoreboard players set @p HPLUranium 9 {Inventory:[{Slot:103b,id:minecraft:leather_helmet,tag:{display:{Name:Nuclear Helmet,color:10066328}}},{Slot:102b,id:minecraft:leather_chestplate,tag:{display:{Name:Nuclear Tunic,color:10066328}}},{Slot:101b,id:minecraft:leather_leggings,tag:{display:{Name:Nuclear Pants,color:10066328}}},{Slot:100b,id:minecraft:leather_boots,tag:{display:{Name:Nuclear Boots,color:10066328}}}]}
But the problem is... how do I make him LOSE this 9 whenever it's not true? Like Conditional command block but opposite, command block that only runs when the one behind him say "false".
I tried to make command block repeating setting HPLUranium to 0, and next to it Chain command block with command showed up there, but it was sometimes changing to 0 for... maybe a tick long when it should be 9, it may cause problems.
Any ideas how to run command if player IS NOT MATCHING DataTag?
Pictures about "Run command if player is NOT matching DataTag [duplicate]"
![Run command if player is NOT matching DataTag [duplicate] - Unrecognizable football players running on field Run command if player is NOT matching DataTag [duplicate] - Unrecognizable football players running on field](/assets/images/run_command_if_player_is_not_matching_datatag_duplicate_1.jpeg)
![Run command if player is NOT matching DataTag [duplicate] - Man kicking ball during football match in park Run command if player is NOT matching DataTag [duplicate] - Man kicking ball during football match in park](/assets/images/run_command_if_player_is_not_matching_datatag_duplicate_2.jpeg)
![Run command if player is NOT matching DataTag [duplicate] - Baseball Player in Gray and Black Uniform Running Run command if player is NOT matching DataTag [duplicate] - Baseball Player in Gray and Black Uniform Running](/assets/images/run_command_if_player_is_not_matching_datatag_duplicate_3.jpeg)
BLOCK BREAKING DETECTION!? -- Command Block Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Pixabay, Omar Ramadan, Chuck Johnson, Pixabay
