For Loop in Unreal Engine Limited to 40 Iterations Despite Random Integer in Range Up to 100

Set the Floors value as a variable.
Random from range → Set Floors → Loop (floors)


Other option is to set the floors in construct and build on Begin Play.


Another option is to Loop on tens and use Delay Until Next Tick. This will have to run in the event graph.