Feed your pet and dont let the food get to less than -10, or else you lose. Happiness goes up after you get more than 50 food.
I got tons of help from my buddy redstoner4, https://scratch.mit.edu/users/redstoner4/