If you were talking about AFP, it would have been the envelopes settings:
But lmms has no envelope settings for Sample-track. In Sample-track you get what you got..
If the sample has more 'length' than is being played, you must drag the Sample-track to a longer length.
Sample-track simply replay exactly what you put into it, but have you added effects?