Why do my pets have lag?

the problem was solved managing pet movement in local scripts and give the player the network ownership of his pet