In the first part, dodge Robo Sandy's attacks until she gets tired and sits down, then do a bubble stomp (press X, then Circle). Do this three times. In the second part, as Patrick, do the same thing, only pick up the robot's head and throw it at the wires. Do this three times. Now, as SpongeBob again, do the bubble stomp only. When the robot holds out her head, press Triangle when you are under the red button. Do this three times and you will win.