execute @e ~ ~ ~ /say @s hi
That command when used in a command block should only say hi for the player that activated the command block but it makes every entity say hi.
execute @e ~ ~ ~ /say @s hi
That command when used in a command block should only say hi for the player that activated the command block but it makes every entity say hi.
This is Working as Intended. The reason it makes every entity say hi is because of the /execute command targeting @e or all entities so when it encounters @s it is referring to the entity currently running the command which because of @e makes every entity run the command.