Never mind, I managed to fix it. I was running blue stacks 5 but I'm pretty sure that they're able to tell you're running the game on a VM now. The way I fixed it was to use the AVD emulator that comes with Android Studio. It's more like an actual phone than an emulator, so it worked fine.