Minecraft /testfor problem

minecraft-commandsminecraft-java-edition

I have another problem with my Minecraft PvP map. I'm trying to set up a command block that checks when a player is standing on a block and if so it will give them jump boost so I used this command /testfor @a[x=621,y=80,z=452,r=1] but it says 'The entity UUID provided is in an invalid format' and I don't know what to do. Any ideas?

Best Answer

That's because you can't use /testfor to find people in exact locations, but what you can do is have a command block below and do a /testfor @a[r=3] and that will check for players in a radius of 3 blocks from that command block.