In medium pan, bring sugar, butter, and milk to a boil over medium heat. Let boil for 2 minutes.
Remove pan from heat and stir in pudding, oats, hot chocolate, and peanut butter.
Spray 9 x 13 pan with cooking spray. Spread mixture into pan. Sprinkle with marshmallow bits. Let cool before cutting into bars.