What am i doing wrong because if i do just rs output by itself it works.

This code was working yesterday, now it doesn't, the first rs setoutput isnt firing and it isnt accepting redstone signal. Has editing in game after editing in notepad++ done something funky to the file? Can someone test this please? I tried copying the code over from the wonky file to a new file and still no luck. No changes except to variable results. Which started happening when I set redout to "bottom". Changing back from "bottom" did not fix it.

https://pastebin.com/zrdpyFrN

Edit: calling rs.GetInput in lua program returns true as expected. What has gone so awry?

[self solved] LOL I had my toll gate switched off under admit. [derp]

To everyone. the pastebin is to a working tollway. just make sure you set admit to false. Cheers.