I was bored so I made this tool for Minecraft 1.13. You enter in the specified information, and it spits out a command in the "Command" box. To copy the command, double click the text in the "Command" box, then put it in an impulse command block, then trigger it with a button, lever, redstone block, or redstone torch. The coordinates (x,y,z) determine where in the world the black hole is. Please note that the command will only work with y values greater than 2, otherwise, part of the black hole would be in the void, which does not work. The range determines how far the pull of the black hole reaches. 50 max. Pull is how many blocks per second targeted entities will be pulled towards the black hole. Negative values are supported, they will make entities move away from the black hole instead of towards it. Kill Radius is how close to the center of the black hole an entity needs to get to die.
**IMPORTANT** This will not work if there is not at least 14 blocks of clearance above the command block. Note that the black hole does not affect players because you cannot use /data merge on players. Once the black hole is created, there will be instructions in chat on how to destroy the black hole.