The text under the text box in a command block says "Use '@s' to target yourself", which is wrong. Using @s in a command block does not target the person who wrote the command, but fails (because the executor isn't an entity). It should instead say "target the executing entity" or something like that.
- relates to
MC-117727 @s is described as "a player in /execute" despite working for all entities