I find very different results based on the Melatonin. I'm currently using Nature Made 3mg and it's been excellent, getting 7-8 hours every single night since I started it months ago. A different brand I can't remember now was decent, but there was one delayed release brand that was awful, I couldn't get more than 6 hours with that stuff.
Also a few hits off the vape and an all-night youtube playlist of pinball vids or Homestar Runner or ASMR or nature sounds will always do the trick.