How do I get 4 different random integers from a range?

I know this is old but I am kinda looking to do something similar to control the randomized order of 3 books I am trying to spawn to ensure that 1 of them is always included except after trying this it didnt seem to work for me or I am using it wrong I guess.