Pet not following player sometimes

I found a Walking Pet System in the forum, here is the model [Download], which works fine! except a critical issue with the system: When you spawn, the pet doesn’t follow you, to make it work sometimes you need to push it. Until the pet follows you. Which makes the issue much more strange. I also tried to fix the issue, but sadly, i don’t know how the script works, it’s kinda confusing for me. Thanks for reading.