In the first screenshot you can just use a “Get” instead of a “Set” from “SGO_LevelLock” for the disabled buttons array, then plug that into the “Add” with “Button 124” as the object. I don’t think you need that green function down below. I believe it’s “create array”? But you won’t need it because you have an array: “Disabled Buttons”.
As for getting rid of that array, if you want to just get rid of everything inside you would use the “Clear” node instead of the “For Each Loop” and plug the array into that. Give that a shot and let us know how it went!
I thought it worked because the button was disabled from the start for the first time. I thought it was disabled because I clicked it before but when I tested the whole game apparently it is permanently disabled. Why is this?