I'm developing Squid game, and I'm currently on Red, Greenlight. 4 of my friends will join.
The code I'm using is making a scoreboard and if it passes the fake player's point -> kill
The code is like this: (jump test)
scoreboard objectives add isjump minecraft.custom:minecraft.jump scoreboard players set #JumpReq isjump 1 setblock 209 25 -495 minecraft:redstone_block(this activates the killing block) execute if score MyName isjump >= #JumpReq isjump kill Myname scoreboard players set Myname isjump 0
As you can see, it can only kill a player that has name on the command block. I want to kill players when they are in the right status, not typing the name at the code.