How to move an object in a looped path but in random speed in 3D?, or How to move an object in circular path in random speed each time?

Hello there,
I am trying to make my player keep avoiding a number of threat objects. In doing so, I have to move the “Threat Objects” in a loop again and again but in random speed.
I have seen different tutorials, but none of it direct me to the way I want for my 3D project.
Just for the scenario,
Assume A guy is standing in the middle of the road and different cars are coming towards him in different speed
Thanks in advance for your help.

Think about using NavMeshAgents [Cars] & Obstacles [Player] and randomly enable/disable the NavMeshObstacle script on the player …