Man tried to 'lure schoolboys to go with him using sweets' :