I’ve added a picture of the of the command that I used on mobile which is also the same as the one that I used on the switch version.
I’ve tested it on mobile In creative mode, I used a zombie spawn egg to spawn zombies and see if the command block kills them but I found the same problem I had with the switch version where it only kills them within a certain radius away from the command block and I was able to find the limit which was like 100-200 blocks away from the command block and farther than that it didn’t kill them anymore.
I found the problem with my first issue I still had a redstone connection connected to the command block which didn’t allow me to change or edit the command in it. But I still have a problem with the second issue where when I put a command like “/kill @e[type=Zombie]” it is supposed to kill all the zombies in the world but it only kills the zombies within a certain radius I even tried using “/kill @e[type=Zombie,r=1000]” but it still only kills them whithin the same radius as the previous command which is definitely less than 1000 blocks away from the command block.
Is there a way to keep the chunk my command blocks are in always active or loaded.