So, when you say nothing happens - does it not grant the achievement at all, or are you just not seeing the popup? You can watch the status of the achievement by bringing up the console with shift+o and typing watch ACHex.has() for example. If you already have the achievement, it won't re-grant it. If proceeding past that line in your script does not change the achievement to being unlocked, then that's a different issue from it changing it and you not seeing the popup screen. If you're testing on Steam, you may need to clear the achievements from their backend as well. See the bottom of this article: https://partner.steamgames.com/doc/features/achievements/ach_guide
Thanks! As it turns out, it was actually an issue with how I was calling the achievements menu (I had a feature that was able to delete all achievements after clicking another confirmation box) that was clearing the achievements as the menu was called for some reason. The good news is that I found this out by using the shift+o console method which I actually didn't know about before, so thanks for the help! I used this to test all of my achievements and if they were being granted correctly, and it's been a big help! ✌✨