This is a workshop script that allows you to record a series of positions for use in your own Workshop scripts.
Press your Interact button, and the script will start recording. While recording, new positions will be added to your FinalPositions array whenever you travel far enough, change direction, or stop moving. Once done recording, you can use the Workshop Inspector to view and copy your list of positions.
Options in the script allow you to change how much your angle must change for a new position to be recorded, how far you have to travel, and whether you want to record the position of your camera or your feet.