Combine sugar, cocoa, and milk in a saucepan. Stir well and let come to a boil. Reduce heat and continue to boil. When it forms a soft ball when dropped into cold water, take from heat and add vanilla, butter, and peanut butter. Beat until stiff. Pour into buttered 9 x 13 inch pan. Cut when cooled.