The neuromodulator is endorphin.
Our pituitary gland produces them in response to the pain. Their production can be triggered by activities like exercise, massages and laughter.
Endorphins inhibit the transmission of pain signals and can also produce a feeling of euphoria like other opioids.