Start by adding the candy corn to the vodka and let infuse for 6 hours or up to overnight.
To rim the glass, dip the rim of a martini glass in a shallow dish of corn syrup, then dip into a shallow dish of decorating sugar or nonpareils. Let dry for 2 minutes.
Strain the vodka and then add it to a cocktail shaker filled with ice.
Add in the pineapple juice and the heavy cream.
Shake well and strain into martini glasses.
Add 2 ½ shots of the infused candy corn vodka into each martini glass.
Using a layering tool or by pouring slowly on the back of a bar spoon, pour in the pineapple juice to make the second layer.