How to make a advancement unachievable to everyone once a player first unlocks it.

My friend has been working on a coding project for a SMP with custom weapons which are unlocked by a custom advancement. He asked me to help code a specific part while he works on other things, and i just cant seem to figure out how to code this properly. I'm tasked with making it so that only the first player to unlock the advancement can be the only player get it. Im very unexperienced with coding so help would be appreciated. This the code for the advancement if it helps. { "display": { "icon": { "id": "minecraft:diamond_sword", "components": {}, "count": 1 }, "title": "Aiglos", "description": "Gain the Aiglos, A legendary elvish spear passed down for generations.", "frame": "challenge", "show_toast": true, "announce_to_chat": true, "hidden": false }, "parent": "bomo:utility", "criteria": { "beacon_made": { "trigger": "minecraft:construct_beacon", "conditions": { "level": 4 } }, "eat_god_apple": { "trigger": "minecraft:consume_item", "conditions": { "item": { "items": "minecraft:enchanted_golden_apple", "count": 1 } } } }, "requirements": [ ["eat_god_apple"], ["beacon_made"] ], "rewards": { "function": "bomo:aiglos01" } }
Continue to help post