Couldn't find a way to make portals that worked well, so I had to make multiple levels for what would have been 1 level. Was hoping that no one would notice.
That was when I found out about how to make portals correctly. I didn't want to redo the other levels, however. The code for portals in level 27 needs the portals to be aligned. So for the other levels, if I used the same code, the portals would not work. Puzzlescript is fun.