This simple project generates a random star system. Stars can destroy their own planets. 2 have unique mechanics: Blue Giants explode into supernova after 60 seconds and destroy any planet and space station that orbits it and turns into a black hole. And black holes drag any space station and planet that touches it's large hitbox until the planet or space station explodes. Sometimes, planets or space stations spawn in the star. To prevent it from looking weird, any planet or space station that touches the star will get destroyed. This is common in binary or triple star systems. You can make this more accurate or make the planets and stars have more realistic textures.
@haroooold said he couldn't code the planets orbitting because they were clones, but I could because it was too easy. takes like 20 seconds To do this, all you have to do is make your clone point towards whatever you want it to orbit then make it turn 90 degrees then make it move 1 step. then make it loop. and now they orbit. If you want it to be advanced use a number divided by distance to what you want to orbit.