I am trying to make a Fuse Box system in Which a Fuse Box will Be connected to multiple Doors if the Fuse Box is on the Doors will be Powered and Can be opened if not the doors cannot be opened.
Following is the Code that Checks if The Fuse Box Is On and Then Sets Weather the Door is Powered or Not.
if The Door is Powered It will open It and if not it will tell to Find FuseBox
But the Door is showing to Find Fusebox Weather the FuseBox Is On Or not