try to not hit the star with the octopus. Move the Octopus with the left and right key on the keyboard.
Its my first game so plese click on the star and heart. The remake: https://scratch.mit.edu/projects/832342146/