I am Trying To make A Fuse Box System For Door In my Game

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

What you’re showing looks ok, but I suspect we’re not getting the whole picture, literally :slight_smile:

So the fusebox can be set on or off, and the door number? Simple.

But can you show all teh door code?