Change the sliders to create your own solar system! :D I recommend to put PlanetMass at 0 if you want more than 40 planets. If you put PlanetMass at 50, the planets are equally as heavy as the sun! xD A PlanetMass of around 3 is most realistic.
Thanks to @piano_miles for the original, with most of the math.I simplified the script, by making the planets clones. His project runs faster than mine with PlanetMass > 0, but mine runs faster with PlanetMass = 0