# I am trying to make it so my gui AtmMain only opens with a script event like /scriptevent atm:open instead of using a item
# system.afterEvents.scriptEventReceive.subscribe(({id, sourceEntity}) => { if (id == "atm:open") primaryMenu(sourceEntity) })```