How to make a movement system like raise a floppa 2?

Help, i want create a game like raise a floppa 2 but i try humanoid:moveto but doesn’t work, who can help me??

What do you actually want to do, can you give more details? thank you.

So basically random number generator (RNG)

(i’m not expert on this and i’m not that experinced, you can rebuke and correct me, if i’m wrong)

we have math.random for it
make pathfinds
make function loop

local pathfinds = YourFolderorYourModel
local function Go() 
-- function need to be manually activated (it's not like "while true do")
for i,y in pairs(pathfinds:GetChildren) do
local rng = math.random(1,4) -- first is mininum and second is max
-- and then you make rest code of it
print(rng)
end
end
--or (bad way, i guess)
while true do
wait(5)
for i,y in pairs(pathfinds:GetChildren) do
-- not good thought...
end

you could also make postition rng

-- add box that will serve purpose of check if pet is in it and
-- if pet is not then make it return it's position
-- you could add check before pet makes it's move
local function GoPostition()
--etc
end