Door Open/Close help

Thanks for the help RevOverDrive. It’s working perfectly now.

However, I thought the gate was the wrong thing to use, what would I use in place of it?