Sorry guys... I tried to make the difficult thing but the sprite was changing its x position every time so I had to remove it. Use the mouse to fly.
Credits to @CodeWithUttam for suggesting the score