And:Both Statements Have To Be True To Do The Script Or:Neither Of Them Have To Be True To Do The Script Xor:Only 1 Can Be True To Do The Script The First Boolean Is Boolean1 The Second Boolean Is Boolean2 The First Input Is The Gate Type The Second Input Is The Script Number To Edit Got To The Custom Block And Find The If Then Script Inside Of Another If Then Script.Now Go To The Type Of Gate You Want Your Script In.Put Any Code Into That Block And It Will Be Run When You Get That Block And Put Your First And Last Booleans In And Then Put The Gate Type And Script Number In. To Add More Scripts To The Same Gate Type, Duplicate The If Then Block, Delete Everything Inside It And Change The Script Number To The Next Number.This Will Be Run When You Set The Gate Type To The Gate Type,Put That Script Number Inside And When You Fill In The Booleans.
Inspiration Taken From Shapez.io Comment Anything You Don`t Understand And Comment What Other Gate Types I Should Make.