Problem with Humanoid:MoveTo()

This works on NPCs but not actual players.
group is the people selected.

local group = {}

local function march()
    game:GetService("RunService").RenderStepped:Connect(function()
        if #group == 1 then
            group[1].Humanoid:MoveTo((player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) * CFrame.Angles(0, 0, 0)).p, player.Character)
        elseif #group > 1 then    
            for i,v in pairs(group) do
                group[1].Humanoid:MoveTo((player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) * CFrame.Angles(0, 0, 0)).p, player.Character)
                group[1].Humanoid.WalkToPoint = (player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) * CFrame.Angles(0, 0, 0)).p
                if i ~= 1 then
                    v.Humanoid:MoveTo((group[i-1].HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) * CFrame.Angles(0, 0, 0)).p, v)
                    v.Humanoid.WalkToPoint = (player.Character.HumanoidRootPart.CFrame * CFrame.new(0, 0, 3) * CFrame.Angles(0, 0, 0)).p
                end
            end
        end
    end)
end