Oh, I fixed it myself! Turns out it wasn't so random after all. When I restarted the game after I died, I deleted the player, then made a new player, but forgot to set the speed of the player, therefore, the speed was 0. :) I hate it when I fix my own problem and make a useless post...