This is a script for the roblox game starscape that helps with finding the system indicated in an ancient beacon.
Go to replit.com and create a new account. After that is done click on the tree lines on the top right corner and click create new repl.
Click on import from github.
Then copy the link of this repo and past it in the github url, then click Import from GitHub.
First open input.lua that's where we're gonna do all of our work.
It's time to input the information from the ancient beacon we'll take this image as an example:
Now my code instead of using colors it uses letters so instead of color red there's a letter here's a list of all the colors:
So the system we want to find is the one with a white circle around it and it's colour is red and is represented by the letter M so we put M inside the ""
in main_color
remember always put the system you want to find in the main_color
, then we put the letters for the systems linked to that main system so we end up with something like this:
if you run out of space in the link = {"", ""}
just add more by putting a coma ,
first and then ""
.
Click the green run button to run the code and you should end up with a result, in this case we ended up with 2:
now you just need to search for these 2 in the galaxy map and see which one fits the ancient beacon, this isn't perfect but it is better than searching with your eyes hope you enjoy using this.