The bug had to be fixed so when the sound plays, the cat says "meow,meow,meow" I needed to connect the " repeat" block with the block that makes the sprite saying meow. Then I just connected the sound with the commands and voila.
Credits: ScratchEdTeam