Try doing a line trace from your box down on the Z axis. Break the Hit Result and get the hit location, then set the boxes location to the hit location. You’ll have to play around with the numbers to get an exact result but this should work for what you are trying to do.