These blocks happen every single frame, which is creating hundreds of sprites and lagging the game. The player movement is choppy because the frame-rate is 2. I would make a variable to check if this has already happened, so that it can’t happen every frame.