Problem with execute command in minecraft

I am trying to run this command:
execute @a[score_hammer_min=1,score_shift_min=1,score_attack_min=1,rx=74,rxm=90] ~ ~ ~ /summon LightningBolt ~ ~ ~
I have tried changing the variables around and taking away the forward slashes or putting them in different places but it's still not working.
I was trying to get the player to summon a lighting bolt depending on their rotation and a few variables, but it just says invalid entity UUID format
.
Does anyone know what's going on?
Best Answer
Try changing the scores's capitals; score_Hammer_min=1,score_Shift_min=1,score_Attack_min=1
And also are you sure you aren't in a team (/scoreboard teams) or created the right objectives?
Check for any grammar mistakes, your problem could be that.
Pictures about "Problem with execute command in minecraft"



Why do commands not work in Minecraft?
You can not run game commands in Minecraft until you have turned on cheats. Game commands let you switch between Creative and Survival game modes, change the time of day, change the weather, or summon a mob.How do you use the execute command in Minecraft?
Type the command in the chat window and press the Enter key to run the command. Once the cheat has been entered, the flame particle will appear directly 1 block in front of the entity running the command.Why is my command block in Minecraft not working?
You may find that the commands you are trying to have the command block execute are not working. This may be due to the certain limitations the block has on what commands it can run successfully. Command Blocks will execute commands with an OP level 2 permissions.Minecraft Execute Command [1.19] Tutorial
Sources: Stack Exchange - This article follows the attribution requirements of Stack Exchange and is licensed under CC BY-SA 3.0.
Images: Andrea Piacquadio, Andrea Piacquadio, Andrea Piacquadio, Anna Shvets