I dont know why but when Holding Spacebar, Player gets damage and dies and Restart pop ups
That's intentional