I’m creating a map on the passage, and I need to make it so that the player when entering a certain zone popped up an inscription with the name of this zone. But there is a problem: the only way I could find on the internet to implement this function does not allow me to read every player entering the zone. This leads to the following bug: if player A is already in the zone, player B will not see the message. I need the sign to be shown to each player separately, regardless of whether there is another player in the zone. Help me, what should I do?
I used the following commands:
execute if entity @a[x=30,y=60,z=-60,distance=..50]
title @a[x=30,y=60,z=-60,distance=..50]title {"text":"Some text"}