Here is the code:
local side = back local function Door() redstone.setOutput("side", true) sleep(0.5) redstone.setOutput("side", false) end Door() sleep(10) Door()
I found the issue, I originally tried naming the function wrong, which gave me the error and it messed up the computer. Just picked it up and put it back down (with label cleared) and it kinda works, different error but I can work around that.