Make a tick function work once

I'm trying to summon a text display when the player reaches certain coordinates. As this command is in the tick.mcfunction file, it summons a lot of entities. Is there any way to make it work just once?

Continue to help post