Insane unpredictable bassline?(intro)

i hav tried replicating this morphy moog bassline but am proud 2 state that ma attempz were flashed down a toilet.please SA,a tutorial on this would b much appreciated