Board Thread:Questions and Answers/@comment-34325507-20180304090543

I want to give the player a boost when he is in a ring of wool (in the air because it is an elytra parkour).

When a player is at 50 50 50, I want him to have speed 10 during 2 seconds.

So I tried the command : /execute @a [x=50, y=50, z=50] ~ ~ ~ effect @s speed 2 10

I put this command in a repeat command block always active, but this give me speed 10 during 2 seconds everywhere I am.

Can someone help me ? 