It seems there is a bug.
On a normal minigame (custom or different gamemode), everytime everyone dies in the minigame, it says "Everyone is dead. No one wins." and then it resets the minigame. So everytime i die in my singleplayer build gamemode, it resets later on. I think it's with the Speedkart gamemode pertaining to other gamemodes.