Some sample packs will be royalty free while others will not be. For the most part, every sample pack you buy will have terms & conditions for using the samples in your music. They will go over if and when royalties are owed to the sample pack creator. Most royalty-free sample packs will let you know immediately on their websites if they are royalty-free.