I found a bug.
While trying to test the addon, I set one of my two possible spawns to do an event onPlayerSpawn. When I ended the minigame, the event I made happen to the one spawn when someone spawns there occured on me, even though I ended up spawning at the middle of the world.
The spawns were Slayer team spawns, and the minigame was Slayer. Probably something to do with the minigame trying to spawn me at the other Slayer spawn when I end the minigame. You think you can fix this?