So I have created doors that are functional, I have a gate and a door, gate works perfectly fine, when the door uses the same script but configured it breaks by going forward and backwards instead of left and right.
Your gate is likely oriented different than the door. Since LookVector works with local axes and CFrames, you'll have to make sure they are both rotated in the same manner (press Ctrl + L to see local axes in studio)